settings
This commit is contained in:
@@ -53,6 +53,7 @@ ALLOWED_HOSTS = []
|
||||
STATIC_URL = '/static/'
|
||||
STATIC_ROOT = 'C:/python/rowsandallapp'
|
||||
|
||||
INTERNAL_IPS = ['127.0.0.1']
|
||||
|
||||
MEDIA_URL = '/media/'
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
||||
|
||||
@@ -57,3 +57,8 @@ urlpatterns = [
|
||||
]
|
||||
|
||||
|
||||
if settings.DEBUG:
|
||||
import debug_toolbar
|
||||
urlpatterns += [
|
||||
url(r'^__debug__/',include(debug_toolbar.urls)),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user