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

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -