Browse Source

Auto-Field adaption for Django >= 3.2

master
Dirk Alders 2 years ago
parent
commit
bf3256d8d2
2 changed files with 5 additions and 0 deletions
  1. 4
    0
      main/settings.py
  2. 1
    0
      requirements.txt

+ 4
- 0
main/settings.py View File

255
 # Other Configuration issues
255
 # Other Configuration issues
256
 #
256
 #
257
 LOGIN_URL = 'users-login'
257
 LOGIN_URL = 'users-login'
258
+
259
+# Default Auto Filed
260
+#
261
+DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'

+ 1
- 0
requirements.txt View File

3
 python-creole>=1.0.0
3
 python-creole>=1.0.0
4
 Whoosh>=2.4.0
4
 Whoosh>=2.4.0
5
 django-simple-history>=2.7.3
5
 django-simple-history>=2.7.3
6
+pytz>=2022.5

Loading…
Cancel
Save