python - Django Invalid block tag: 'static' -


i have in <head> of base.html.

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

and error invalid block tag: 'static'

within installed_apps i've included

'django.contrib.staticfiles', 

and i've included within settings.py

static_url = '/static/'  static_root = os.path.join(os.path.dirname(__file__), "static/") 

why load error?

the actual problem here, i'm sorry say, within app.yaml file had specified different directory static files , seemed overriding else. once removed, sorted.


Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

c++ - Can not find the "fiostream.h" file -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -