annotate 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 |
rev |
line source |
bgneal@0
|
1 from django.conf.urls.defaults import patterns, include, url
|
bgneal@0
|
2
|
bgneal@0
|
3 # Uncomment the next two lines to enable the admin:
|
bgneal@0
|
4 # from django.contrib import admin
|
bgneal@0
|
5 # admin.autodiscover()
|
bgneal@0
|
6
|
bgneal@0
|
7 urlpatterns = patterns('',
|
bgneal@0
|
8 # Examples:
|
bgneal@0
|
9 # url(r'^$', 'bns_website.views.home', name='home'),
|
bgneal@0
|
10 # url(r'^bns_website/', include('bns_website.foo.urls')),
|
bgneal@0
|
11
|
bgneal@0
|
12 # Uncomment the admin/doc line below to enable admin documentation:
|
bgneal@0
|
13 # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
bgneal@0
|
14
|
bgneal@0
|
15 # Uncomment the next line to enable the admin:
|
bgneal@0
|
16 # url(r'^admin/', include(admin.site.urls)),
|
bgneal@0
|
17 )
|