|
|
@ -70,6 +70,12 @@ urlpatterns = [ |
|
|
# http://stackoverflow.com/questions/35510373/ |
|
|
# http://stackoverflow.com/questions/35510373/ |
|
|
|
|
|
|
|
|
if settings.DEBUG: |
|
|
if settings.DEBUG: |
|
|
|
|
|
import debug_toolbar |
|
|
|
|
|
|
|
|
|
|
|
urlpatterns += [ |
|
|
|
|
|
url(r'^__debug__/', include(debug_toolbar.urls)), |
|
|
|
|
|
|
|
|
|
|
|
] |
|
|
urlpatterns += static(settings.STATIC_URL, |
|
|
urlpatterns += static(settings.STATIC_URL, |
|
|
document_root=settings.STATIC_ROOT) |
|
|
document_root=settings.STATIC_ROOT) |
|
|
|
|
|
|
|
|
|