@@ -115,7 +115,7 USE_TZ = False | |||
|
115 | 115 | # Static files (CSS, JavaScript, Images) |
|
116 | 116 | # https://docs.djangoproject.com/en/1.8/howto/static-files/ |
|
117 | 117 | |
|
118 |
MEDIA_ROOT = |
|
|
118 | MEDIA_ROOT = 'media'#os.path.join(BASE_DIR, 'media') | |
|
119 | 119 | MEDIA_URL = '/site_media/' |
|
120 | 120 | |
|
121 | 121 | STATIC_URL = '/static/' |
@@ -15,6 +15,7 Including another URLconf | |||
|
15 | 15 | """ |
|
16 | 16 | from django.conf.urls import include, url |
|
17 | 17 | from django.contrib import admin |
|
18 | from django.contrib.staticfiles.urls import staticfiles_urlpatterns | |
|
18 | 19 | |
|
19 | 20 | urlpatterns = [ |
|
20 | 21 | url(r'^admin/', include(admin.site.urls)), |
@@ -28,3 +29,5 urlpatterns = [ | |||
|
28 | 29 | url(r'^abs/', include('apps.abs.urls')), |
|
29 | 30 | url(r'^misc/', include('apps.misc.urls')), |
|
30 | 31 | ] |
|
32 | ||
|
33 | urlpatterns += staticfiles_urlpatterns() |
General Comments 0
You need to be logged in to leave comments.
Login now