Skip to content

Commit

Permalink
Set default_auto_field in AppConfig to avoid migrations problem if DE…
Browse files Browse the repository at this point in the history
…FAULT_AUTO_FIELD is different
  • Loading branch information
protoroto committed Sep 26, 2023
1 parent 43eb914 commit 1014939
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changes/181.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Set default_auto_field in AppConfig to avoid migrations problem if DEFAULT_AUTO_FIELD is different
1 change: 1 addition & 0 deletions djangocms_page_meta/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
class PageMetaConfig(AppConfig):
name = "djangocms_page_meta"
verbose_name = _("django CMS Page Meta")
default_auto_field = "django.db.models.BigAutoField"

0 comments on commit 1014939

Please sign in to comment.