Added the last migrations needed to fully convert the Attribute system. Cleaned up the @ooclook command a bit as well as tidied up the who command a bit.

This commit is contained in:
Griatch 2013-04-14 13:35:25 +02:00
parent 1a00797021
commit 8d48aa5a06
6 changed files with 362 additions and 191 deletions

View file

@ -22,8 +22,13 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
"""
Pickle field implementation for Django.
Modified for Evennia by Griatch.
"""
"""Pickle field implementation for Django."""
from copy import deepcopy
from base64 import b64encode, b64decode
from zlib import compress, decompress
@ -31,6 +36,8 @@ import six
import django
from django.db import models
from src.utils.dbserialize import to_pickle
# django 1.5 introduces force_text instead of force_unicode
try:
from django.utils.encoding import force_text