diff --git a/ChangeLog.rst b/ChangeLog.rst index db05589460..b67dbbaf66 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -16,6 +16,11 @@ Backwards incompatible changes been renamed to ``certificate_key``. This is done to prevent the key from being displayed without being masked in Django debug pages. +0.44.0 +****** + +- Better compatibility with Django 3.2 + 0.43.0 (2020-10-15) ******************* diff --git a/allauth/account/apps.py b/allauth/account/apps.py index ee529859ab..cce87bd102 100644 --- a/allauth/account/apps.py +++ b/allauth/account/apps.py @@ -5,3 +5,4 @@ class AccountConfig(AppConfig): name = "allauth.account" verbose_name = _("Accounts") + default_auto_field = 'django.db.models.AutoField' diff --git a/allauth/socialaccount/apps.py b/allauth/socialaccount/apps.py index 3a450b6e71..8c57960fbe 100644 --- a/allauth/socialaccount/apps.py +++ b/allauth/socialaccount/apps.py @@ -5,3 +5,4 @@ class SocialAccountConfig(AppConfig): name = "allauth.socialaccount" verbose_name = _("Social Accounts") + default_auto_field = 'django.db.models.AutoField' diff --git a/example/example/demo/apps.py b/example/example/demo/apps.py index 61b31a0fb0..7d4fed0dd1 100644 --- a/example/example/demo/apps.py +++ b/example/example/demo/apps.py @@ -37,6 +37,7 @@ def setup_dummy_social_apps(sender, **kwargs): class DemoConfig(AppConfig): name = 'example.demo' verbose_name = _('Demo') + default_auto_field = 'django.db.models.AutoField' def ready(self): post_migrate.connect(setup_dummy_social_apps, sender=self)