Re: Image uploaded to database but not displaying

2023-04-12 Thread Michael Starr
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 >

Re: Image uploaded to database but not displaying

2023-04-12 Thread Michael Starr
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

Re: Image uploaded to database but not displaying

2023-04-12 Thread Michael Starr
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

Re: Image uploaded to database but not displaying

2023-04-12 Thread Chelsea Fan
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

Re: Image uploaded to database but not displaying

2023-04-11 Thread David Nugent
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

Image uploaded to database but not displaying

2023-04-11 Thread Michael Starr
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