Started working on the skeleton of an actual website. Created barebones templates...
[~kgodey/maayanwich.git] / urls.py
diff --git a/urls.py b/urls.py
index 091db55..26ce058 100644 (file)
--- a/urls.py
+++ b/urls.py
@@ -3,12 +3,12 @@ import views
 from django.shortcuts import render_to_response
 
 urlpatterns = patterns('',
-       (r'^sandwiches/add/$', views.add_sandwich),
+       (r'^sandwich/add/$', views.add_sandwich),
+       (r'^sandwich/addingredient/$', views.add_ingredient),
+       (r'^sandwich/all/$', views.all_sandwich),
+       (r'^sandwich/(?P<slug>[-\w]+)/$', views.specific_sandwich),
+       (r'^sandwich/(?P<year>[-\w]+)/(?P<month>[-\w]+)/$', views.sandwich_month),
        (r'^login/$', views.login_view),
-       (r'^newuser/$', views.create_user),
-       (r'^sandwiches/addingredient/$', views.add_ingredient),
-       (r'^sandwiches/all/$', views.all_sandwich),
-       (r'^sandwiches/new/$', views.newsandwiches),
-       (r'^sandwiches/(?P<slug>[-\w]+)/$', views.specific_sandwich),
-       (r'^sandwiches/(?P<year>[-\w]+)/(?P<month>[-\w]+)/$', views.sandwich_month),
+       (r'^signup/$', views.create_user),
+       (r'', views.baseview),
 )