Remove the deprecated .characters property from Player model, it was a leftover from another time (there is no such hard-coded relation; use sessions instead). Closes #1233."
This commit is contained in:
parent
4424734867
commit
657b3585f8
1 changed files with 0 additions and 11 deletions
|
|
@ -104,17 +104,6 @@ class PlayerDB(TypedObject, AbstractUser):
|
||||||
class Meta(object):
|
class Meta(object):
|
||||||
verbose_name = 'Player'
|
verbose_name = 'Player'
|
||||||
|
|
||||||
# alias to the objs property
|
|
||||||
def __characters_get(self):
|
|
||||||
return self.objs
|
|
||||||
|
|
||||||
def __characters_set(self, value):
|
|
||||||
self.objs = value
|
|
||||||
|
|
||||||
def __characters_del(self):
|
|
||||||
raise Exception("Cannot delete name")
|
|
||||||
characters = property(__characters_get, __characters_set, __characters_del)
|
|
||||||
|
|
||||||
# cmdset_storage property
|
# cmdset_storage property
|
||||||
# This seems very sensitive to caching, so leaving it be for now /Griatch
|
# This seems very sensitive to caching, so leaving it be for now /Griatch
|
||||||
#@property
|
#@property
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue