[Answer]-Django using images in css

1👍

You need to define STATIC_ROOT, and also set your STATICFILE_DIRS for local development, otherwise Django won’t know where to serve your local static files during development.

STATIC_ROOT is where your static media and any 3rd party static media get collected to for deployment. STATICFILES_DIRS is the directory or directories django.contrib.static will serve files from if DEBUG is True.

Hope that gets you going.

Leave a comment