Moved db_player and db_sessid under metaclass wrappers.

This commit is contained in:
Griatch 2013-09-23 23:10:23 +02:00
parent fd9acd6bf9
commit f11f330e95
3 changed files with 77 additions and 70 deletions

View file

@ -85,6 +85,7 @@ class SharedMemoryModelBase(ModelBase):
"Helper method to create property wrappers with unique names (must be in separate call)"
def _get(cls, fname):
"Wrapper for getting database field"
#print "_get:", fieldname, wrappername,_GA(cls,fieldname)
return _GA(cls, fieldname)
def _get_foreign(cls, fname):
"Wrapper for returing foreignkey fields"