How to upload audio files using Form , in Database of Django.

preview_player
Показать описание
How to upload audio files using Form , in Database of Django.
STATIC_URL = '/static/'
MEDIA_URL='/media/'
To go in details of this video , code and explaination -
Рекомендации по теме
Комментарии
Автор

MEDIA_ROOT=os.path.join(BASE_DIR, 'media')
NameError: name 'os' is not defined

Why this error is coming? should we import any os library?

chvarun