Skip to content

Commit

Permalink
settings: Set DEFAULT_AUTO_FIELD to AutoField to avoid migration
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Dec 10, 2023
1 parent 193e969 commit 16b9b36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
},
],
DEFAULT_AUTO_FIELD='django.db.models.BigAutoField',
DEFAULT_AUTO_FIELD='django.db.models.AutoField',
ROOT_URLCONF='boundaries.urls',
)
django.setup()
Expand Down
2 changes: 1 addition & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
},
]

DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'

if 'GDAL_LIBRARY_PATH' in os.environ:
GDAL_LIBRARY_PATH = os.getenv('GDAL_LIBRARY_PATH')
Expand Down

0 comments on commit 16b9b36

Please sign in to comment.