1👍
✅
Probably following code will work for you, add it this code into the urls.py file
#return admin static files from same server
if settings.DEBUG:
urlpatterns += patterns('django.contrib.staticfiles.views',
url(r'^static/(?P<path>.*)$', 'serve'),
)
In settings.py add following line (I think for this you need to comment # STATIC_ROOT = 'static'
)
STATICFILES_DIRS = (os.path.join(BASE_DIR, 'static'),)
Edit:
url(r'^media/(?P<path>.*)$',
'django.views.static.serve', { 'document_root': settings.MEDIA_ROOT, }),
Source:stackexchange.com