0

Hi for some reason my CSS file won’t load. I try to search the internet but didn’t found a solution. can you assist me ? My settings code

I've tried every possible solution on the internet, but it's of no use.

  • 1
    could you post actual code rather than a screenshot? – Riley Martin Nov 30 '22 at 17:43
  • STATIC_URL = 'static/' STATICFILE_DIRS = [ os.path.join(BASE_DIR, "static") ] STATIC_ROOT = os.path.join(BASE_DIR,'assets') –  Nov 30 '22 at 17:45
  • 2
    [How to put code in StackOverflow questions](https://medium.com/analytics-vidhya/5-ways-to-embed-code-in-stack-overflow-8d9f38edf02c) You might want to add the html template where you link to the css, and perhaps your urls.py as well. – raphael Nov 30 '22 at 17:55
  • I'm learning django on my own. this is my first project. Do you mind explaining little bit clearly. –  Nov 30 '22 at 18:16
  • [Cannot connect .js files with html files in django](https://stackoverflow.com/questions/74619261/cannot-connect-js-files-with-html-files-in-django/74620638#74620638). Check out my answer – Olasubomi Dec 01 '22 at 12:16

0 Answers0