diff options
Diffstat (limited to 'greenbox/urls.py')
-rw-r--r-- | greenbox/urls.py | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/greenbox/urls.py b/greenbox/urls.py index 9202bff..7ee6f28 100644 --- a/greenbox/urls.py +++ b/greenbox/urls.py | |||
@@ -1,17 +1,7 @@ | |||
1 | from django.conf.urls.defaults import * | 1 | from django.conf.urls.defaults import patterns, include, url |
2 | 2 | from django.contrib import admin; admin.autodiscover() | |
3 | # Uncomment the next two lines to enable the admin: | ||
4 | from django.contrib import admin | ||
5 | admin.autodiscover() | ||
6 | 3 | ||
7 | urlpatterns = patterns('', | 4 | urlpatterns = patterns('', |
8 | # Example: | 5 | url(r'^$', include('recipe.urls')), |
9 | # (r'^greenbox/', include('greenbox.foo.urls')), | 6 | url(r'^admin/', include(admin.site.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)), | ||
17 | ) | 7 | ) |