Added optional support for database migrations with south. The game/migrate.py program is a simple wrapper that runs the suitable commands for setting up a database and updating it, respectively.
This commit is contained in:
parent
7eaf3d221c
commit
7fb6362dc4
9 changed files with 153 additions and 30 deletions
|
|
@ -441,8 +441,8 @@ try:
|
|||
except ImportError:
|
||||
pass
|
||||
# South handles automatic database scheme migrations when evennia updates
|
||||
#try:
|
||||
# import south
|
||||
# INSTALLED_APPS = INSTALLED_APPS + ('south',)
|
||||
#except ImportError:
|
||||
# pass
|
||||
try:
|
||||
import south
|
||||
INSTALLED_APPS = INSTALLED_APPS + ('south',)
|
||||
except ImportError:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue