<s> """<STR_LIT>""" <EOL> """<STR_LIT>""" <EOL> from django . db import models , IntegrityError <EOL> import location <EOL> class Search ( models . Model ) : <EOL> """<STR_LIT>""" <EOL> published = models . DateTimeField ( auto_now_add = True , blank = False , null = False ) <EOL> author = models . ForeignKey ( '<STR_LIT>' , related_name = '<STR_LIT>' , blank = False , null = False ) <EOL> origin = models . ForeignKey ( '<STR_LIT>' , related_name = '<STR_LIT>' , blank = False ) <EOL> destination = models . ForeignKey ( '<STR_LIT>' , related_name = '<STR_LIT>' , blank = False ) <EOL> href = models . URLField ( verify_exists = False , blank = True , null = False ) <EOL> def __repr__ ( self ) : <EOL> return str ( self . id ) <EOL> def __unicode__ ( self ) : <EOL> return str ( self . id ) <EOL> class Meta : <EOL> app_label = '<STR_LIT>' </s>
