Up django version to 3.2

This commit is contained in:
Griatch 2021-05-15 11:02:57 +02:00
parent ae6a481025
commit 63009a2a65
4 changed files with 11 additions and 7 deletions

View file

@ -2,6 +2,8 @@
## Evennia 1.0 (2019-) (develop branch, WIP) ## Evennia 1.0 (2019-) (develop branch, WIP)
Up requirements to Django 3.2+
- New `drop:holds()` lock default to limit dropping nonsensical things. Access check - New `drop:holds()` lock default to limit dropping nonsensical things. Access check
defaults to True for backwards-compatibility in 0.9, will be False in 1.0 defaults to True for backwards-compatibility in 0.9, will be False in 1.0
- REST API allows you external access to db objects through HTTP requests (Tehom) - REST API allows you external access to db objects through HTTP requests (Tehom)

View file

@ -92,9 +92,9 @@ SRESET = chr(19) # shutdown server in reset mode
# requirements # requirements
PYTHON_MIN = "3.7" PYTHON_MIN = "3.7"
TWISTED_MIN = "18.0.0" TWISTED_MIN = "20.3.0"
DJANGO_MIN = "2.2.5" DJANGO_MIN = "3.2.0"
DJANGO_LT = "3.0" DJANGO_LT = "4.0"
try: try:
sys.path[1] = EVENNIA_ROOT sys.path[1] = EVENNIA_ROOT

View file

@ -278,7 +278,8 @@ ATTRIBUTE_STORED_MODEL_RENAME = [
(("players", "playerdb"), ("accounts", "accountdb")), (("players", "playerdb"), ("accounts", "accountdb")),
(("typeclasses", "defaultplayer"), ("typeclasses", "defaultaccount")), (("typeclasses", "defaultplayer"), ("typeclasses", "defaultaccount")),
] ]
# Default type of autofield (required by Django)
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
###################################################################### ######################################################################
# Evennia pluggable modules # Evennia pluggable modules

View file

@ -2,12 +2,13 @@
# general # general
attrs >= 19.2.0 attrs >= 19.2.0
django >= 2.2.5, < 3.0 django >= 3.2, < 3.3
twisted >= 20.3.0, < 21.0.0 twisted >= 20.3.0, < 21.0.0
pytz pytz
djangorestframework >= 3.10.3, < 3.12 djangorestframework >= 3.10.3, < 3.12
django-filter >= 2.2.0, < 2.3 # django-filter >= 2.2.0, < 2.3
django-sekizai django-filter == 2.4
django-sekizai == 2.0
inflect >= 5.2.0 inflect >= 5.2.0
autobahn >= 17.9.3 autobahn >= 17.9.3
lunr == 0.6.0 lunr == 0.6.0