I'm learning Django 2.0
I have a ready-made template, that contains all assets in assets
folder.
All references in template starts from assets/...
, and I'm gonna keep it: all links should looks like {% static 'assets/...' %}
My Django app has following structure:
myapp
├───manage.py
└───mysite
└───static/mysite/static/assets # some mess here?
└───templates/mysite/index.html
Inside index.html
I'm using {% load static %}
,
In settings
I have just
STATIC_URL = '/static/'
but framework can't find path to assets. What I'm doing wrong?
UPD
{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'assets/css/bootstrap.min.css' %}">