mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 02:36:32 +01:00
Up min Django version to 3.2. Update recommended.
This commit is contained in:
parent
7f1d4594ff
commit
4136298695
4 changed files with 8 additions and 7 deletions
|
|
@ -48,7 +48,7 @@ everything in the following sections.
|
|||
- Windows (Vista, Win7, Win8, Win10)
|
||||
- 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
|
||||
Python environments. Installed with `pip install virtualenv`.
|
||||
|
||||
|
|
@ -56,13 +56,13 @@ everything in the following sections.
|
|||
updating Evennia itself - Mac users can use 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).
|
||||
- [Twisted](http://twistedmatrix.com) (v19.0+)
|
||||
- [Twisted](http://twistedmatrix.com) (v21.0+)
|
||||
- [ZopeInterface](http://www.zope.org/Products/ZopeInterface) (v3.0+) - usually included in
|
||||
Twisted packages
|
||||
- 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*
|
||||
[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)
|
||||
|
||||
## Linux Install
|
||||
|
|
|
|||
|
|
@ -93,8 +93,8 @@ SRESET = chr(19) # shutdown server in reset mode
|
|||
# requirements
|
||||
PYTHON_MIN = "3.7"
|
||||
TWISTED_MIN = "18.0.0"
|
||||
DJANGO_MIN = "2.2.5"
|
||||
DJANGO_LT = "3.0"
|
||||
DJANGO_MIN = "3.2"
|
||||
DJANGO_LT = "3.3"
|
||||
|
||||
try:
|
||||
sys.path[1] = EVENNIA_ROOT
|
||||
|
|
|
|||
|
|
@ -278,7 +278,8 @@ ATTRIBUTE_STORED_MODEL_RENAME = [
|
|||
(("players", "playerdb"), ("accounts", "accountdb")),
|
||||
(("typeclasses", "defaultplayer"), ("typeclasses", "defaultaccount")),
|
||||
]
|
||||
|
||||
# Default type of autofield (required by Django)
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
|
||||
|
||||
######################################################################
|
||||
# Evennia pluggable modules
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Evennia dependencies
|
||||
|
||||
# general
|
||||
django >= 2.2.5, < 3.0
|
||||
django >= 3.2, < 3.3
|
||||
twisted >= 21.7.0, < 22.0.0
|
||||
pytz
|
||||
django-sekizai
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue