created site.urls in sdi and mapped urls.py accordingly
authornishanth
Sat, 29 May 2010 10:13:58 +0530
changeset 10 e6aac19d8a25
parent 9 47f72774489e
child 11 dad0085f039b
created site.urls in sdi and mapped urls.py accordingly
sdi/site/__init__.py
sdi/site/urls.py
urls.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sdi/site/urls.py	Sat May 29 10:13:58 2010 +0530
@@ -0,0 +1,7 @@
+from django.conf.urls.defaults import *
+
+from sage_days.sdi.views import register
+urlpatterns = patterns('',
+                       ('^register/$', register),
+                      )
+
--- a/urls.py	Sat May 29 09:51:15 2010 +0530
+++ b/urls.py	Sat May 29 10:13:58 2010 +0530
@@ -4,6 +4,9 @@
 # from django.contrib import admin
 # admin.autodiscover()
 
+from sage_days.sdi.views import register
+from sage_days.settings import APACHE_URL_PREFIX as aup
+
 urlpatterns = patterns('',
     # Example:
     # (r'^sage_days/', include('sage_days.foo.urls')),
@@ -14,4 +17,6 @@
 
     # Uncomment the next line to enable the admin:
     # (r'^admin/', include(admin.site.urls)),
+
+    (r'^registration/', include('sage_days.sdi.site.urls')),
 )