<s> from django . db import models <EOL> class BaseManager ( models . Manager ) : <EOL> def create ( self , is_social , ** kwargs ) : <EOL> if '<STR_LIT:user>' not in kwargs and '<STR_LIT>' not in kwargs : <EOL> siteuser_model = models . get_model ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> user = siteuser_model . objects . create ( is_social = is_social ) <EOL> kwargs [ '<STR_LIT>' ] = user . id <EOL> return super ( BaseManager , self ) . create ( ** kwargs ) <EOL> class SocialUserManager ( BaseManager ) : <EOL> def create ( self , ** kwargs ) : <EOL> return super ( SocialUserManager , self ) . create ( True , ** kwargs ) <EOL> class InnerUserManager ( BaseManager ) : <EOL> def create ( self , ** kwargs ) : <EOL> return super ( InnerUserManager , self ) . create ( False , ** kwargs ) </s>
