Ticket #11918: urls.py

File urls.py, 633 bytes (added by Camilo Nova, 15 years ago)
Line 
1from django.conf.urls.defaults import *
2
3# Uncomment the next two lines to enable the admin:
4# from django.contrib import admin
5# admin.autodiscover()
6
7urlpatterns = patterns('',
8 # Example:
9 # (r'^foo/', include('foo.foo.urls')),
10
11 # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
12 # to INSTALLED_APPS to enable admin documentation:
13 # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
14
15 # Uncomment the next line to enable the admin:
16 # (r'^admin/', include(admin.site.urls)), #FIXME This line doesnt work
17 # (r'^admin/(.*)', admin.site.root), #FIXME This one works fine
18)
Back to Top