Made the CSS pretty (the CSS file hasn't been committed yet), plus added comment...
[~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         url(r'^sandwich/add/$', views.add_sandwich, name='add_sandwich'),
7         url(r'^sandwich/addingredient/$', views.add_ingredient, name='add_ingredient'),
8         url(r'^sandwich/all/$', views.all_sandwich, name='all_sandwiches'),
9         url(r'^sandwich/(?P<year>[-\w]+)/(?P<month>[-\w]+)/$', views.sandwich_month, name='sandwich_by_month'),
10         url(r'^sandwich/(?P<slug>[-\w]+)/$', views.specific_sandwich, name='sandwich_by_slug'),
11         url(r'^login/$', views.login_view, name='login'),
12         url(r'^logout/$', views.logout_view, name='logout'),
13         url(r'^signup/$', views.create_user, name='signup'),
14         url(r'', views.current_home, name='index'),
15         (r'^comments/', include('django.contrib.comments.urls')),
16 )