X-Git-Url: http://git.ithinksw.org/~kgodey/maayanwich.git/blobdiff_plain/735e53fa41a4911c1464a25ed0f24ac8769b878f..5d7c130063aa776d8d49bbd2b7f7739ff8331594:/urls.py?ds=sidebyside diff --git a/urls.py b/urls.py index 26ce058..dfab245 100644 --- a/urls.py +++ b/urls.py @@ -6,9 +6,10 @@ urlpatterns = patterns('', (r'^sandwich/add/$', views.add_sandwich), (r'^sandwich/addingredient/$', views.add_ingredient), (r'^sandwich/all/$', views.all_sandwich), - (r'^sandwich/(?P[-\w]+)/$', views.specific_sandwich), (r'^sandwich/(?P[-\w]+)/(?P[-\w]+)/$', views.sandwich_month), + url(r'^sandwich/(?P[-\w]+)/$', views.specific_sandwich, name='sandwich_by_slug'), (r'^login/$', views.login_view), + (r'^logout/$', views.logout_view), (r'^signup/$', views.create_user), (r'', views.baseview), )