-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Django 3.2.4 Upgrade - DEFAULT_AUTO_FIELD #873
Comments
This warning is harmless for Django 3.2. This will be fixed in the next
reversion release. Alternatively, I'll take a MR to fix it now.
…On Fri, 4 Jun 2021 at 21:38, Leonardo de Paula Liebscher < ***@***.***> wrote:
After upgrading to Django 3.2.4 I started to receive those warning
messages:
WARNINGS:
reversion.Revision: (models.W042) Auto-created primary key used when not
defining a primary key type, by default 'django.db.models.AutoField'.
HINT: Configure the DEFAULT_AUTO_FIELD setting or the
AppConfig.default_auto_field attribute to point to a subclass of AutoField,
e.g. 'django.db.models.BigAutoField'.
reversion.Version: (models.W042) Auto-created primary key used when not
defining a primary key type, by default 'django.db.models.AutoField'.
HINT: Configure the DEFAULT_AUTO_FIELD setting or the
AppConfig.default_auto_field attribute to point to a subclass of AutoField,
e.g. 'django.db.models.BigAutoField'.
How can I set default_auto_field for django-reversion?
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#873>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABEKCG4T2EGGX7DOSISGI3TRE2U5ANCNFSM46DPDZGQ>
.
|
Thanks, @etianen. |
Peter-van-Tol
added a commit
to Peter-van-Tol/django-reversion
that referenced
this issue
Jun 16, 2021
Solves etianen#873
Merged
Done, hopefully it can be part of the next release! |
Definitely :)
…On Wed, 16 Jun 2021 at 12:56, Peter-van-Tol ***@***.***> wrote:
Done, hopefully it can be part of the next release!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#873 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABEKCEUJA4W32ACMPOKVFTTTCGODANCNFSM46DPDZGQ>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After upgrading to Django 3.2.4 I started to receive those warning messages:
WARNINGS:
reversion.Revision: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
reversion.Version: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
How can I set default_auto_field for django-reversion?
Thanks.
The text was updated successfully, but these errors were encountered: