On Tue, Jan 28, 2020, 5:52 AM Dick Arnold wrote:
> My nice, new Django application is going along fairly well, although I
> have run into a couple of roadblocks and need some help. The first problem
> is my HTML statement:
>
>
>
> Here's the error message I get on my terminal (command prompt)
When you load files to static, it loads to a common static location. That
is the way you would want it to be. Recommended read django docs.
regs
On Friday, January 31, 2020 at 8:39:23 PM UTC+5:30, Dick Arnold wrote:
>
> Didn't stay working for long. Needed one more change.
>
> the src also
Didn't stay working for long. Needed one more change.
the src also needs the application folder before the image file name.
(contacts is
the name of my applications folder.)
On Monday, January 27, 2020 at 6:52:06 PM UTC-6, Dick Arnold wrote:
>
> My nice, new Django application is going
Please ignore. I finally got it to work, It was the directory structure to
the image file. Needed:
project folder
project folder
application folder
'static' folder
application folder
image file
application
On Monday, January 27,
'about a day or so after my original post I discovered that static files
might be related to my problem.. getting the first reply that pointed me
in the same direction gave my hope that a solution was close.
unfortunately, nothing worked. Below I have the pertinent code.
hopefully, someone
Hi,
I keep my images files within in a static folder, so
./MyProject/static/media/myimage.png
would be my path. In the template I make use of it like that:
It's explained here:
https://docs.djangoproject.com/en/3.0/howto/static-files/
also that you need to define your static folder in your
My nice, new Django application is going along fairly well, although I
have run into a couple of roadblocks and need some help. The first problem
is my HTML
Here's the error message I get on my terminal (command prompt) window:
Not Found: /GAW.jpg
[25/Jan/2020 11:51:50] "GET /GAW.jpg
7 matches
Mail list logo