Skip to content

Commit

Permalink
Set default_auto_field on pgpubsub and pgpubsub.tests app config
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulGilmartin committed Oct 20, 2023
1 parent ecd95eb commit 40623ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pgpubsub/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class PgpubsubConfig(AppConfig):
name = 'pgpubsub'
default_auto_field = 'django.db.models.AutoField'
1 change: 1 addition & 0 deletions pgpubsub/tests/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

class TestsConfig(AppConfig):
name = 'pgpubsub.tests'
default_auto_field = 'django.db.models.AutoField'

def ready(self):
import pgpubsub.tests.listeners # noqa

0 comments on commit 40623ef

Please sign in to comment.