Added a view for a form to add a sandwich, made a url for it and made a templates...
[~kgodey/maayanwich.git] / urls.py
diff --git a/urls.py b/urls.py
index be8af48..82f72f0 100644 (file)
--- a/urls.py
+++ b/urls.py
@@ -1,5 +1,7 @@
 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),
 )