Open bisha77 opened 6 years ago
Hi bisha77, This is applicable for Django 2.2: In your urls.py file, at the end of urlpatterns = [ ... ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
For more info, see the docs: https://django.readthedocs.io/en/2.2.x/howto/static-files/ under "Serving files uploaded by a user during development"
Hello. i tried to add an image to multichoise question. I can see that 'upload' folder is being created and the image is there. How ever the image in the question cannot be displayed. Instead i get an error telling me that image path is wrong. Im not sure what Im doing wrong. Thank u for your help.