Skip to content

Commit 14425d2

Browse files
committed
fix: Add default_auto_field to cms/apps.py (#8254)
* fix: Add `default_auto_field` to cms/apps.py * Add default_autofield to `menus.apss`
1 parent 7f08375 commit 14425d2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

cms/apps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
class CMSConfig(AppConfig):
66
name = 'cms'
77
verbose_name = _("django CMS")
8+
default_auto_field = 'django.db.models.AutoField'
89

910
def ready(self):
1011
from cms.utils.setup import setup, setup_cms_apps

menus/apps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
class MenusConfig(AppConfig):
66
name = 'menus'
77
verbose_name = _("django CMS menus system")
8+
default_auto_field = 'django.db.models.AutoField'

0 commit comments

Comments
 (0)