Skip to content

Commit

Permalink
Merge pull request #343 from NGEET/issue-339-autofield-orm-warnings
Browse files Browse the repository at this point in the history
Warning in logs for Django ORM models
  • Loading branch information
vchendrix authored Oct 13, 2021
2 parents 0661a98 + 0fc0830 commit 2b6ab14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions archive_api/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def load_groups(sender, **kwargs):

class ArchiveApiConfig(AppConfig):
name = 'archive_api'
default_auto_field = 'django.db.models.AutoField'

def ready(self):
post_migrate.connect(load_groups, sender=self)
Expand Down

0 comments on commit 2b6ab14

Please sign in to comment.