Open ramoel opened 8 years ago
Same issue here got this in the developper tools :
"<link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <link href="/static/Font-Awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> <link href="/static/ionicons/css/ionicons.min.css" rel="stylesheet" type="text/css" /> <link href="/static/AdminLTE/css/AdminLTE.min.css" rel="stylesheet" type="text/css" /> <link href="/static/AdminLTE/plugins/iCheck/square/blue.css" rel="stylesheet" type="text/css" /> "try to wrap your load with autoscape... example:
{% autoescape off %} {% alte_load_css "bootstrap" "fontawesome" "ionicons" "adminlte" %} {% endautoescape %}
have you configured your STATIC_ROOT at settings.py?
STATIC_ROOT = os.path.join(WSGI_DIR, 'static')
after that run python manage.py collectstatic --noinput
STATIC_URL isn't working on django 1.9.2.
<link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <link href="/static/Font-Awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> <link href="/static/ionicons/css/ionicons.min.css" rel="stylesheet" type="text/css" /> <link href="/static/AdminLTE/css/AdminLTE.min.css" rel="stylesheet" type="text/css" /> <link href="/static/AdminLTE/plugins/iCheck/square/blue.css" rel="stylesheet" type="text/css" />