Browse Source

tweaked user settings

Rafał Pitoń 10 years ago
parent
commit
7f946576b6
1 changed files with 5 additions and 5 deletions
  1. 5 5
      misago/users/migrations/0002_users_settings.py

+ 5 - 5
misago/users/migrations/0002_users_settings.py

@@ -41,7 +41,7 @@ def create_users_settings_group(apps, schema_editor):
                     'value': 3,
                     'value': 3,
                     'field_extra': {
                     'field_extra': {
                         'min_value': 2,
                         'min_value': 2,
-                        'max_value': 255,
+                        'max_value': 20,
                     },
                     },
                     'is_public': True,
                     'is_public': True,
                 },
                 },
@@ -53,7 +53,7 @@ def create_users_settings_group(apps, schema_editor):
                     'value': 14,
                     'value': 14,
                     'field_extra': {
                     'field_extra': {
                         'min_value': 2,
                         'min_value': 2,
-                        'max_value': 255,
+                        'max_value': 20,
                     },
                     },
                     'is_public': True,
                     'is_public': True,
                 },
                 },
@@ -128,10 +128,10 @@ def create_users_settings_group(apps, schema_editor):
                     'legend': _("Signatures"),
                     'legend': _("Signatures"),
                     'description': _("Maximum allowed signature length."),
                     'description': _("Maximum allowed signature length."),
                     'python_type': 'int',
                     'python_type': 'int',
-                    'value': 1048,
+                    'value': 256,
                     'field_extra': {
                     'field_extra': {
-                        'min_value': 256,
-                        'max_value': 10000,
+                        'min_value': 10,
+                        'max_value': 5000,
                     },
                     },
                     'is_public': True,
                     'is_public': True,
                 },
                 },