mirror of
https://github.com/jazzband/django-axes.git
synced 2026-05-04 05:34:46 +00:00
use autofield for now, otherwise we have to bump min version to 3.2
This commit is contained in:
parent
b4a71de81f
commit
876b6f3dc4
2 changed files with 1 additions and 24 deletions
|
|
@ -7,7 +7,7 @@ log = getLogger(__name__)
|
|||
|
||||
|
||||
class AppConfig(apps.AppConfig):
|
||||
default_auto_field = "django.db.models.BigAutoField"
|
||||
default_auto_field = "django.db.models.AutoField"
|
||||
name = "axes"
|
||||
initialized = False
|
||||
|
||||
|
|
|
|||
|
|
@ -1,23 +0,0 @@
|
|||
# Generated by Django 3.2.4 on 2021-06-06 20:37
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('axes', '0006_remove_accesslog_trusted'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='accessattempt',
|
||||
name='id',
|
||||
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='accesslog',
|
||||
name='id',
|
||||
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
|
||||
),
|
||||
]
|
||||
Loading…
Reference in a new issue