[Answer]-Easiest way to load css and image file

1👍

Follow these steps:

  1. You need to create a static directory in your project root.
  2. Specify the static directory in the django project settings.
  3. Include the static files like css, js, image, fonts inside the static directory.
  4. Change the static file’s path in templates — e.g. from /css/bootstrap.min.css to {% static "css/bootstrap.min.css" %}

Leave a comment