- Quick summary
- Version
- Learn Markdown
- Summary of set up
- Configuration
- Dependencies
- Database configuration
- How to run tests
- Deployment instructions
- Writing tests
- Code review
- Other guidelines
In order for the media url to work a set up is needed in url.py main file. See the code bellow:
In the Templates context_processors OPTIONS
'django.template.context_processors.media'
In the main URL.py
from django.conf.urls.static import static from django.conf import settings
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)