diff -r 22e66e1ed995 -r 7358eeae14d8 urls.py --- a/urls.py Thu Sep 17 18:52:21 2009 -0400 +++ b/urls.py Thu Sep 24 15:20:30 2009 +0530 @@ -1,4 +1,8 @@ from django.conf.urls.defaults import * +from django.conf import settings +from django.views.generic.simple import direct_to_template + +import os.path # Uncomment the next two lines to enable the admin: # from django.contrib import admin @@ -14,4 +18,9 @@ # Uncomment the next line to enable the admin: # (r'^admin/', include(admin.site.urls)), + url (r'^$', direct_to_template, {"template": "homepage.html"}, name="home"), + (r'^register/','content.views.register'), + (r'^logout/','content.views.logout'), + (r'^regthank/(?P\d+)/$', 'content.views.regthank'), + (r'^site_media/(?P.*)$', 'django.views.static.serve', {'document_root': 'site-content'}), )