Project

General

Profile

0001-settings-mute-warning-about-auto-fields-68360.patch

Benjamin Dauvergne, 23 November 2022 02:58 PM

Download (828 Bytes)

View differences:

Subject: [PATCH 1/2] settings: mute warning about auto fields (#68360)

See https://docs.djangoproject.com/en/dev/releases/3.2/#customizing-type-of-auto-created-primary-keys
 src/authentic2/settings.py | 2 ++
 1 file changed, 2 insertions(+)
src/authentic2/settings.py
46 46
ALLOWED_HOSTS = []
47 47
INTERNAL_IPS = ('127.0.0.1',)
48 48

  
49
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
50

  
49 51
DATABASES = {
50 52
    'default': {
51 53
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
52
-