Custom form for adding ingredients works!
[~kgodey/maayanwich.git] / urls.py
diff --git a/urls.py b/urls.py
index be8af48..c90bca8 100644 (file)
--- a/urls.py
+++ b/urls.py
@@ -1,5 +1,8 @@
 from django.conf.urls.defaults import *
+import views
+from django.shortcuts import render_to_response
 
 urlpatterns = patterns('',
-    (r'^addsandwich/$', 'views.add_sandwich'),
+    (r'^addsandwich/$', views.add_sandwich),
+       (r'^addingredient/$', views.add_ingredient),
 )