We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a4cba7 commit d41b75aCopy full SHA for d41b75a
dynamic_preferences/apps.py
@@ -8,6 +8,7 @@
8
class DynamicPreferencesConfig(AppConfig):
9
name = "dynamic_preferences"
10
verbose_name = _("Dynamic Preferences")
11
+ default_auto_field = "django.db.models.AutoField"
12
13
def ready(self):
14
if preferences_settings.ENABLE_GLOBAL_MODEL_AUTO_REGISTRATION:
dynamic_preferences/users/apps.py
@@ -10,6 +10,7 @@ class UserPreferencesConfig(AppConfig):
name = "dynamic_preferences.users"
verbose_name = _("Preferences - Users")
label = "dynamic_preferences_users"
15
16
UserPreferenceModel = self.get_model("UserPreferenceModel")
0 commit comments