Skip to content

Conversation

@julianwachholz
Copy link

Add apps.py with a default AppConfig class to tell Django this app still uses AutoField.

This prevents accidental migration files created with makemigrations in a project that uses DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"

Add `apps.py` with a default AppConfig class to tell Django this app still uses `AutoField`.

This prevents accidental migration files created with `makemigrations` in a project that uses `DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant