Remove backwards compatibility person() method on Person

- Legacy-Id: 6828
This commit is contained in:
Ole Laursen 2013-12-07 12:13:14 +00:00
parent ca28fb05a6
commit 7738f35283

View file

@ -93,9 +93,6 @@ class Person(PersonInfo):
#this variable, if not None, may be used by url() to keep the sitefqdn.
default_hostscheme = None
def person(self): # little temporary wrapper to help porting to new schema
return self
@property
def defurl(self):
return urljoin(self.default_hostscheme,self.json_url())