Skip to content

Commit

Permalink
Add default_auto_field to satisfy Django 4.0 (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm authored Apr 19, 2021
1 parent f71dbe1 commit d08200d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions health_check/db/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@


class HealthCheckConfig(AppConfig):
default_auto_field = 'django.db.models.AutoField'
name = 'health_check.db'

def ready(self):
Expand Down

2 comments on commit d08200d

@RyanBalfanz
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is a new migration missing as part of this change?

@codingjoe
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's not needed since the fields remain the same.

Please sign in to comment.