سؤال

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

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top