MEDIA_ROOT =  os.path.join(BASE_DIR, 'media') MEDIA_URL = '/media/' 

Read more of this post