there
> are many mentions of static files with a dozen or so possible configuration
> items. These are there because such configuration is important right at the
> start of developing a Django app.
>
> If you need information on media handling though, you need to go back to
>
roduction where you may wish to handle them
differently (serving from cloud vs locally and choice of what served each
etc and a myriad of other choices).
So, back to your problem, I would guess that you are simply missing a url
handler for your media files at path(‘media/‘,…(, and the path stored in
ually being uploaded.
>
> HTH,
> David
>
>
>
> From: Michael Starr
> Reply: django...@googlegroups.com
> Date: 12 April 2023 at 18:00:56
> To: Django users
> Subject: Image uploaded to database but not displaying
>
> I am finding that the url of files store
s config,
> except for MEDIA_URL and pointing to the file system location where they
> are actually being uploaded.
>
> HTH,
> David
>
>
>
> From: Michael Starr
> Reply: django-users@googlegroups.com
>
> Date: 12 April 2023 at 18:00:56
> To: Djang
dev static files config,
except for MEDIA_URL and pointing to the file system location where they
are actually being uploaded.
HTH,
David
From: Michael Starr
Reply: django-users@googlegroups.com
Date: 12 April 2023 at 18:00:56
To: Django users
Subject: Image uploaded to database but not
I am finding that the url of files stored in a database with Django is
automated to /media/[filename], which is neat, because that keeps it
organized and from images being everywhere. However, only the alt text of
my file shows--the url is correct but the image doesn't show. I've tried
using st
6 matches
Mail list logo