Login view works! Forms have been reshuffled (Django apparently comes with built...
[~kgodey/maayanwich.git] / urls.py
1 from django.conf.urls.defaults import *
2 import views
3 from django.shortcuts import render_to_response
4
5 urlpatterns = patterns('',
6         (r'^addsandwich/$', views.add_sandwich),
7         (r'^login/$', views.login_view),
8         (r'^addingredient/$', views.add_ingredient),
9         (r'^allsandwiches/$', views.all_sandwich),
10         (r'^newsandwiches/$', views.newsandwiches),
11         (r'^sandwich/(?P<slug>[-\w]+)/$', views.specific_sandwich),
12 )