[Fixed]-Django static import on template

1👍

Import will be like that:

{% load staticfiles %}
<link rel="stylesheet" type="text/css" href="{% static "series/css/style.css" %}"/>

0👍

Hope this helps! 🙂

{% load static %}
<link rel="stylesheet" href="{% get_static_prefix %}series/css/style.css" />

in settings.py

BASE_DIR ='%s'%(path_to_mega_series)
STATIC_URL = '/static/'

and your STATIC_ROOT

Leave a comment