Added MEDIA_URL and MEDIA_ROOT in CMS/settings.py .MEDIA_URL is the URL that will serve the media files and MEDIA_ROOT is the path to the root directory (media folder) where the files will get stored.
A 404 error should be expexted in the landing page since we have added a URL in CMS/urls.py.
Fixes #36
Checklist:
[x] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
Handling Images
Added MEDIA_URL and MEDIA_ROOT in CMS/settings.py .MEDIA_URL is the URL that will serve the media files and MEDIA_ROOT is the path to the root directory (media folder) where the files will get stored.
A 404 error should be expexted in the landing page since we have added a URL in CMS/urls.py.
Fixes #36
Checklist: