 from django . db import models <EOL> class Page ( models . Model ) : <EOL> title = models . CharField ( max_length = <NUM_LIT:255> , default = "<STR_LIT>" , blank = True ) <EOL> type = models . CharField ( max_length = <NUM_LIT:50> , default = "<STR_LIT>" , blank = True ) <EOL> content = models . TextField ( default = "<STR_LIT>" , blank = True ) <EOL> @ models . permalink <EOL> def get_absolute_url ( self ) : <EOL> return ( '<STR_LIT>' , [ self . type ] , { } ) 
 def __unicode__ ( self ) : 
 from django . db import models <EOL> class Page ( models . Model ) : <EOL> title = models . CharField ( max_length = <NUM_LIT:255> , default = "<STR_LIT>" , blank = True ) <EOL> type = models . CharField ( max_length = <NUM_LIT:50> , default = "<STR_LIT>" , blank = True ) <EOL> content = models . TextField ( default = "<STR_LIT>" , blank = True ) <EOL> @ models . permalink <EOL> def get_absolute_url ( self ) : <EOL> return ( '<STR_LIT>' , [ self . type ] , { } ) <EOL> def __unicode__ ( self ) : <EOL> return self . title or self . content <EOL> class Product ( models . Model ) : <EOL> meta_description = models . TextField ( default = "<STR_LIT>" ) <EOL> meta_keywords = models . CharField ( max_length = <NUM_LIT:255> , default = "<STR_LIT>" ) <EOL> meta_title = models . CharField ( max_length = <NUM_LIT:255> , default = "<STR_LIT>" ) <EOL> @ models . permalink <EOL> def get_absolute_url ( self ) : <EOL> return ( '<STR_LIT>' , [ self . id ] , { } ) <EOL> def __unicode__ ( self ) : <EOL> return self . meta_title <EOL> class Category ( models . Model ) : <EOL> name = models . CharField ( max_length = <NUM_LIT:255> , default = "<STR_LIT>" ) <EOL> page_title = models . CharField ( max_length = <NUM_LIT:255> , default = "<STR_LIT>" ) <EOL> @ models . permalink <EOL> def get_absolute_url ( self ) : <EOL> return ( '<STR_LIT>' , [ "<STR_LIT:abc>" ] , { } ) <EOL> class NoPath ( models . Model ) : <EOL> pass <EOL> class Tag ( models . Model ) : <EOL> name = models . CharField ( max_length = <NUM_LIT:255> , default = "<STR_LIT>" ) <EOL> @ models . permalink <EOL> def get_absolute_url ( self ) : <EOL> return ( '<STR_LIT>' , [ self . name ] , { } ) <EOL> def __unicode__ ( self ) : <EOL> return self . name </s>
