"TemplateSyntaxError: 'humanize' is not a valid tag library:" in DJango

Question:

While setting up the django-registration module I have run into a bit of trouble. Everything works correctly as far as rendering templates. After trying to test-register I am hit with this error. I do have Django.contrib.humanize in the settings.py file. Any help is appreciated

Asked By: Frantz Romain

||

Answers:

As the docs say:

To activate these filters, add ‘django.contrib.humanize’ to your INSTALLED_APPS setting.

So perhaps you should have “django.” not “Django.” ? See Django docs on django.contrib.humanize

Also do you have “{% load humanize %}” in the templates?
You may also want to look at TemplateSyntaxError: ‘settings_tags’ is not a valid tag library

Answered By: kgr

To activate these filters, add ‘django.contrib.humanize’ to your INSTALLED_APPS setting.

Answered By: Hamid Farrokhi