Mercurial > public > bravenewsurf
view bns_website/urls.py @ 1:134fbfc4acf6
Restructured settings as a directory to allow for different settings files. E.g.
python manage.py runserver --settings=settings.local
Load secret/sensitive information from settings/secrets.json, which will not be controlled in source control.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 27 Oct 2011 20:01:37 -0500 |
parents | c8881d9ca347 |
children | 71f2941161e9 |
line wrap: on
line source
from django.conf.urls.defaults import patterns, include, url # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'bns_website.views.home', name='home'), # url(r'^bns_website/', include('bns_website.foo.urls')), # Uncomment the admin/doc line below to enable admin documentation: # url(r'^admin/doc/', include('django.contrib.admindocs.urls')), # Uncomment the next line to enable the admin: # url(r'^admin/', include(admin.site.urls)), )