Mercurial > nosedjango
annotate examples/project/urls.py @ 6:8d0793b2358b
update testapp to django 1.0b1
author | Victor Ng <victor@monkeybean.ca> |
---|---|
date | Thu, 28 Aug 2008 11:44:53 -0400 |
parents | ff263bdd455e |
children | a82369f2574e |
rev | line source |
---|---|
6
8d0793b2358b
update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
1 from django.conf.urls.defaults import * |
8d0793b2358b
update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
2 |
8d0793b2358b
update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
3 # Uncomment the next two lines to enable the admin: |
8d0793b2358b
update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
4 # from django.contrib import admin |
8d0793b2358b
update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
5 # admin.autodiscover() |
8d0793b2358b
update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
6 |
8d0793b2358b
update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
7 urlpatterns = patterns('', |
8d0793b2358b
update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
8 # Example: |
8d0793b2358b
update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
9 # (r'^p1/', include('p1.foo.urls')), |
8d0793b2358b
update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
10 |
8d0793b2358b
update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
11 # Uncomment the next line to enable admin documentation: |
8d0793b2358b
update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
12 # (r'^admin/doc/', include('django.contrib.admindocs.urls')), |
8d0793b2358b
update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
13 |
8d0793b2358b
update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
14 # Uncomment the next line for to enable the admin: |
8d0793b2358b
update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
15 # (r'^admin/(.*)', admin.site.root), |
8d0793b2358b
update testapp to django 1.0b1
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
16 ) |