Liz Liz - 9 months ago 49
Python Question

'account_tags' is not a valid tag library

I'm working on designing a web page in Python/Django, and when I try to run my program's server, I get an error message stating:

'account_tags' is not a valid tag library: Template library account_tags not found, tried django.templatetags.account_tags,django.contrib.admin.templatetags.account_tags,django.contrib.staticfiles.templatetags.account_tags,django_forms_bootstrap.templatetags.account_tags,pinax_theme_bootstrap.templatetags.account_tags,pinax_theme_foundation.templatetags.account_tags,bootstrapform.templatetags.account_tags,metron.templatetags.account_tags

The problem comes from this line of code:

{% load account_tags %}

Does anyone know what else I can install to obtain the correct 'account_tags' library? Thanks!

Answer Source

It looks like the account_tags library is from django-user-accounts. The installation instructions say that you should add 'account' to your INSTALLED_APPS setting.