django - Cannot use overextends in Wagtail admin -


i try replace default logo , title in wagtail app. according http://docs.wagtail.io/en/v1.0b1/howto/custom_branding.html i've created templates/wagtailadmin/, have installed django-overextends , added overextends project’s installed_apps object(base.py).

as result error invalid block tag on line 1: 'overextends'. did forget register or load tag?

how can correctly load overextends module make work? appreciated. in advance.

see overextends readme

in django 1.9+, must add overextends builtins key of templates setting

templates = [     {         'backend': 'django.template.backends.django.djangotemplates',         'app_dirs': true,         'options': {             'builtins': ['overextends.templatetags.overextends_tags'],         }     }, ] 

for extensions feature template tags, need load them in each template, e.g. {% load overextends_tags %}, overextends different, , in earlier versions of django self-adds builtins, see https://github.com/stephenmcd/django-overextends/blob/master/overextends/models.py

note, wagtail 1.0 old version, , latest 1.5.2. wagtail 1.5.2 custom branding documentation detail above template configuration step.

update october 2016: wagtail past version 1.5. see @gasman's comment below more.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -