Sunday, January 17, 2021

Re: I have learn the tutorial 6 static file for html & css. However the web-site fail to display the intended file. Why & how to fixed it!

There are many things that might be wrong in this situation. 
1) Check the Urls.py file.
2) Check your settings.py file for the correct static URL & allowed hosts
3) Check for proper paths for every static file

Thanks,
Prashanjeet Haldar
On Sunday, January 17, 2021 at 10:14:12 PM UTC+5:30 Kasper Laudrup wrote:
Hi Loh,

Revisit part one of the tutorial again:

https://docs.djangoproject.com/en/3.1/intro/tutorial01/#write-your-first-view

The "Page not found?" box will tell you what is wrong, but it might help
you to read the rest again for context.

Good luck and kind regards,

Kasper Laudrup

On 17/01/2021 14.01, Loh Boon How wrote:
> Capture - index file.JPGCapture - css file.JPGCapture - web view.JPG
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users...@googlegroups.com
> <mailto:django-users...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/93d79eaf-acb7-445c-84ff-925a60b4d540n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/93d79eaf-acb7-445c-84ff-925a60b4d540n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/218243a6-338c-47f0-b105-e4b6e98e7a9an%40googlegroups.com.

No comments:

Post a Comment