Browse Source

Fixed crash on register page.

Rafał Pitoń 11 years ago
parent
commit
06e66ee77e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      misago/apps/register/forms.py

+ 2 - 2
misago/apps/register/forms.py

@@ -35,8 +35,8 @@ class UserRegisterForm(Form):
     def __init__(self, *args, **kwargs):
         super(UserRegisterForm, self).__init__(*args, **kwargs)
         help_text_formats = {
-                             'min': settings_lazy.username_length_min,
-                             'max': settings_lazy.username_length_max,
+                             'min': settings.username_length_min,
+                             'max': settings.username_length_max,
                             }
         self.fields['username'].help_text = _(
             "Your displayed username. Between %(min)s and %(max)s characters, only letters and digits are allowed.") % help_text_formats