Up min Django version to 3.2. Update recommended.

This commit is contained in:
Griatch 2021-10-05 23:22:50 +02:00
parent 7f1d4594ff
commit 4136298695
4 changed files with 8 additions and 7 deletions

View file

@ -48,7 +48,7 @@ everything in the following sections.
- Windows (Vista, Win7, Win8, Win10) - Windows (Vista, Win7, Win8, Win10)
- Mac OSX (>=10.5 recommended) - Mac OSX (>=10.5 recommended)
- [Python](http://www.python.org) (v3.7, 3.8 are tested) - [Python](http://www.python.org) (v3.7, 3.8 or 3.9)
- [virtualenv](http://pypi.python.org/pypi/virtualenv) for making isolated - [virtualenv](http://pypi.python.org/pypi/virtualenv) for making isolated
Python environments. Installed with `pip install virtualenv`. Python environments. Installed with `pip install virtualenv`.
@ -56,13 +56,13 @@ everything in the following sections.
updating Evennia itself - Mac users can use the updating Evennia itself - Mac users can use the
[git-osx-installer](http://code.google.com/p/git-osx-installer/) or the [git-osx-installer](http://code.google.com/p/git-osx-installer/) or the
[MacPorts version](http://git-scm.com/book/en/Getting-Started-Installing-Git#Installing-on-Mac). [MacPorts version](http://git-scm.com/book/en/Getting-Started-Installing-Git#Installing-on-Mac).
- [Twisted](http://twistedmatrix.com) (v19.0+) - [Twisted](http://twistedmatrix.com) (v21.0+)
- [ZopeInterface](http://www.zope.org/Products/ZopeInterface) (v3.0+) - usually included in - [ZopeInterface](http://www.zope.org/Products/ZopeInterface) (v3.0+) - usually included in
Twisted packages Twisted packages
- Linux/Mac users may need the `gcc` and `python-dev` packages or equivalent. - Linux/Mac users may need the `gcc` and `python-dev` packages or equivalent.
- Windows users need [MS Visual C++](https://aka.ms/vs/16/release/vs_buildtools.exe) and *maybe* - Windows users need [MS Visual C++](https://aka.ms/vs/16/release/vs_buildtools.exe) and *maybe*
[pypiwin32](https://pypi.python.org/pypi/pypiwin32). [pypiwin32](https://pypi.python.org/pypi/pypiwin32).
- [Django](http://www.djangoproject.com) (v2.2.x), be warned that latest dev - [Django](http://www.djangoproject.com) (v3.2.x), be warned that latest dev
version is usually untested with Evennia) version is usually untested with Evennia)
## Linux Install ## Linux Install

View file

@ -93,8 +93,8 @@ 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 = "18.0.0"
DJANGO_MIN = "2.2.5" DJANGO_MIN = "3.2"
DJANGO_LT = "3.0" DJANGO_LT = "3.3"
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

@ -1,7 +1,7 @@
# Evennia dependencies # Evennia dependencies
# general # general
django >= 2.2.5, < 3.0 django >= 3.2, < 3.3
twisted >= 21.7.0, < 22.0.0 twisted >= 21.7.0, < 22.0.0
pytz pytz
django-sekizai django-sekizai