1. Andrii Kostenko
  2. django-registration

Commits

Andrii Kostenko  committed 284834e

activation email

  • Participants
  • Parent commits 8f3b9f4
  • Branches default

Comments (0)

Files changed (3)

File registration/tests/templates/registration/activation_email.txt

View file
  • Ignore whitespace
+test email

File registration/tests/templates/registration/activation_email_subject.txt

View file
  • Ignore whitespace
+test subject

File registration/tests/views.py

View file
  • Ignore whitespace
         TEMPLATE_DIRS=(os.path.join(os.path.dirname(__file__), 'templates'),),
         JINJA2_TEMPLATE_LOADERS=('django.template.loaders.filesystem.Loader',),
         JINJA2_DISABLED_APPS=('registration', 'debug_toolbar'),
-        DEBUG_TOOLBAR_CONFIG={'SHOW_TOOLBAR_CALLBACK': lambda F: False}
+        DEBUG_TOOLBAR_CONFIG={'SHOW_TOOLBAR_CALLBACK': lambda F: False},
+        LANGUAGES = (('en', 'English'),),
+        LANGUAGE_CODE= 'en'
     )
 
     def setUp(self):