[Django]-404 (Not Found) for CSS files

3👍

Are you sure

@import "~leaflet/dist/leaflet.css";

Shouldn`t be

@import "~/leaflet/dist/leaflet.css";
👤ymz

3👍

I think you need to include a / so that it reads as:

@import "~/leaflet/dist/leaflet.css";

Generally ~/ means to start from the home dir. ~ is a shortcut for the home directory

Leave a comment