I wanted to know the difference between using MEDIA_ROOT = BASE_DIR / 'media'
and MEDIA_ROOT= os.path.join(BASE_DIR, "media")
in settings.py.
MEDIA_ROOT = BASE_DIR / 'media'
utilizes pathlib library
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
utilizes os library
The default library depends on which version of Django you employ.
What do you mean by deleting and uploading can you give more detail?