<s> from django . template . loader import render_to_string <EOL> from wham . fields import WhamCharField , WhamTextField <EOL> from wham . models import WhamModel <EOL> class FacebookMeta : <EOL> base_url = '<STR_LIT>' <EOL> requires_oauth_token = True <EOL> class FacebookUser ( WhamModel ) : <EOL> id = WhamCharField ( max_length = <NUM_LIT:255> , primary_key = True ) <EOL> username = WhamTextField ( unique = True ) <EOL> name = WhamTextField ( ) <EOL> gender = WhamTextField ( ) <EOL> first_name = WhamTextField ( ) <EOL> last_name = WhamTextField ( ) <EOL> class Meta : <EOL> db_table = '<STR_LIT>' <EOL> class WhamMeta ( FacebookMeta ) : <EOL> endpoint = '<STR_LIT>' <EOL> def __unicode__ ( self ) : <EOL> return self . name </s>
