ImproperlyConfigured at / Empty static prefix not permitted - Django
问题 I'm working on uploading/displaying images with Django. The website is deployed on Heroku. Following this tutorial I was able to successfully upload images. However, the images weren't being displayed in the template. I then learned that my urls.py should have this line at the end: + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) I added this to the end of my urls.py but now I'm getting this error: ImproperlyConfigured at / Empty static prefix not permitted I have MEDIA_URL and