<s> from django . db import models <EOL> from django . contrib . auth . models import User <EOL> from django . db . models import permalink <EOL> class Profile ( models . Model ) : <EOL> """<STR_LIT>""" <EOL> user = models . ForeignKey ( User ) <EOL> name = models . CharField ( blank = True , null = True , max_length = <NUM_LIT:255> ) <EOL> def __unicode__ ( self ) : <EOL> return self . name <EOL> @ permalink <EOL> def get_absolute_url ( self ) : <EOL> return ( '<STR_LIT>' , ( ) , { '<STR_LIT>' : self . id } ) </s>
