Put these lines at the end of settings.py file:
MEDIA_ROOT = os.path.join(BASE_DIR, ‘media’)
MEDIA_URL = ‘/media/’
- Pak26 answered 2 weeks ago
- You must login to post comments
Your Answer
Please login first to submit.
Put these lines at the end of settings.py file:
MEDIA_ROOT = os.path.join(BASE_DIR, ‘media’)
MEDIA_URL = ‘/media/’
Please login first to submit.