Mercurial > nosedjango
annotate examples/project/urls.py @ 12:a6e52c3b64a8 tip
added a version code to nosedjango
author | Victor Ng <victor@monkeybean.ca> |
---|---|
date | Fri, 29 Aug 2008 14:10:47 -0400 |
parents | a82369f2574e |
children |
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: |
8 | 9 (r'^zoo/', include('project.zoo.urls')), |
6
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 ) |