Fixed metaclass to handle proxy correctly. Some issues with getting path properties set correctly.

This commit is contained in:
Griatch 2014-12-20 19:04:49 +01:00
parent 32e44dceab
commit 043ebf7213
6 changed files with 289 additions and 265 deletions

View file

@ -13,6 +13,7 @@ instead for most things).
import datetime
from django.conf import settings
from src.typeclasses.models import TypeclassBase
from src.players.models import PlayerDB
from src.comms.models import ChannelDB
from src.utils import logger
@ -26,7 +27,7 @@ class Player(PlayerDB):
"""
Base typeclass for all Players.
"""
_is_typeclass = True
__metaclass__ = TypeclassBase
def __init__(self):
"""