Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
chore: Add default_auto_field to avoid models.W042 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jun 11, 2021
1 parent 0586359 commit efe9596
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions content/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

class ContentConfig(AppConfig):
name = "content"
default_auto_field = "django.db.models.AutoField"

def ready(self):
import content.signals # noqa: F401
1 change: 1 addition & 0 deletions country/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@

class CountryConfig(AppConfig):
name = "country"
default_auto_field = "django.db.models.AutoField"

0 comments on commit efe9596

Please sign in to comment.