Django MEDIA_URL and MEDIA_ROOT

UPDATE for Django >= 1.7 Per Django 2.1 documentation: Serving files uploaded by a user during development from django.conf import settings from django.conf.urls.static import static urlpatterns = patterns(”, # … the rest of your URLconf goes here … ) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) You no longer need if settings.DEBUG as Django will handle ensuring this is … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)