Do you want to know the information regarding “managin media django”. If yes, you’re in the correct article.
managin media django
#in base url from django.conf import settings from django.conf.urls.static import static urlpatterns = [ # ... the rest of your URLconf goes here ... ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) #in setting MEDIA_ROOT = BASE_DIR / 'media' MEDIA_URL = '/media/'
I hope this article helps you to know about “managin media django”. If you have any queries regarding this post please let us know via the comment section. Share this post with your friends & family via social networks.