Skip to content

Commit

Permalink
DEFAULT AUTO FIELD
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarogf97 committed Nov 4, 2022
1 parent 0341e25 commit 225aeb7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions gdpr_assist/app_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ class PrivacySettings(AppSettings):
# Disable anonymise_db command by default - we don't want people running it
# on production by accident
GDPR_CAN_ANONYMISE_DATABASE = False

default_auto_field = 'django.db.models.AutoField'
2 changes: 1 addition & 1 deletion gdpr_assist/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def is_on_delete_anonymise(field):
class GdprAppConfig(AppConfig):
name = "gdpr_assist"
verbose_name = "GDPR"
default_auto_field = "django.db.models.BigAutoField"
default_auto_field = "django.db.models.AutoField"

def ready(self):
"""
Expand Down

0 comments on commit 225aeb7

Please sign in to comment.