Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 css not working in Django
I am using django 2.2.7

I have a template called index.html (attached).
Inside here, I have li tags for which I want to remove the bullet points.
So in my style.css file (also attached), I write nav li {list-style-type: none;}.

However, when I load the page, i still see bullet points on my li tags.
Have I missed something?

Attached Files Thumbnail(s)
ok, it seems like whenever I want to make changes to my css, i need to delete the existing file and create a new one and give it a different name. Then it works.

But surely, I cannot continue on to work like that right?
(Jul-01-2020, 01:54 PM)mp3909 Wrote: But surely, I cannot continue on to work like that right?
It's because browser do cache css files,then on normal reload it will not use immediately changes made local yet.
Look at this Thread for different solutions.
thank you Snippsat, that thread helped solve the issue!

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Django: How to automatically substitute a variable in the admin page at Django 1.11? m0ntecr1st0 3 649 Jun-30-2019, 12:21 AM
Last Post: scidam
  My Django 2.0.6 logging is not working while product merging PrateekG 0 737 Jul-26-2018, 02:24 PM
Last Post: PrateekG
  django startserver - not working lewashby 3 14,007 Nov-24-2016, 11:24 PM
Last Post: lewashby

Forum Jump:

Users browsing this thread: 1 Guest(s)