diff options
Diffstat (limited to 'bitbake/lib/toaster/toastermain/urls.py')
-rw-r--r-- | bitbake/lib/toaster/toastermain/urls.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastermain/urls.py b/bitbake/lib/toaster/toastermain/urls.py index 6c4a953b41..5ce5a924d8 100644 --- a/bitbake/lib/toaster/toastermain/urls.py +++ b/bitbake/lib/toaster/toastermain/urls.py | |||
@@ -59,12 +59,11 @@ if toastermain.settings.DEBUG_PANEL_ENABLED: | |||
59 | urlpatterns.insert(1, url(r'', include(debug_toolbar.urls))) | 59 | urlpatterns.insert(1, url(r'', include(debug_toolbar.urls))) |
60 | #logger.info("Enabled django_toolbar extension") | 60 | #logger.info("Enabled django_toolbar extension") |
61 | 61 | ||
62 | urlpatterns = [ | ||
63 | # Uncomment the next line to enable the admin: | ||
64 | url(r'^admin/', include(admin.site.urls)), | ||
65 | ] + urlpatterns | ||
62 | 66 | ||
63 | if toastermain.settings.BUILD_MODE: | ||
64 | urlpatterns = [ | ||
65 | # Uncomment the next line to enable the admin: | ||
66 | url(r'^admin/', include(admin.site.urls)), | ||
67 | ] + urlpatterns | ||
68 | # Automatically discover urls.py in various apps, beside our own | 67 | # Automatically discover urls.py in various apps, beside our own |
69 | # and map module directories to the patterns | 68 | # and map module directories to the patterns |
70 | 69 | ||