Browse Source

Auto-Field adaption for Django >= 3.2

master
Dirk Alders 1 year 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,3 +255,7 @@ File "%(pathname)s", line %(lineno)d, in %(funcName)s
255 255
 # Other Configuration issues
256 256
 #
257 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,3 +3,4 @@ Pillow>=5.4.1
3 3
 python-creole>=1.0.0
4 4
 Whoosh>=2.4.0
5 5
 django-simple-history>=2.7.3
6
+pytz>=2022.5

Loading…
Cancel
Save