Package madrona :: Package news :: Module models :: Class Entry
[hide private]

Class Entry

source code

django.db.models.Model --+
                         |
                        Entry

Nested Classes [hide private]
  Meta
Instance Methods [hide private]
 
__unicode__(self) source code
 
save(self, *args, **kwargs) source code
Class Variables [hide private]
  title = models.CharField(max_length= 200)
  slug = models.SlugField(editable= False)
  summary = models.CharField(max_length= 200, blank= True, null=...
  body = models.TextField(help_text= "Use HTML.")
  tags = models.ManyToManyField(Tag)
  author = models.ForeignKey(User)
  is_draft = models.BooleanField("Draft", default= False, help_t...
  published_on = models.DateTimeField(auto_now_add= True)
  modified_on = models.DateTimeField(auto_now= True, editable= F...
Class Variable Details [hide private]

summary

Value:
models.CharField(max_length= 200, blank= True, null= True, help_text= \
"One sentence. If not supplied, whole body text will show up in archiv\
e view.")

is_draft

Value:
models.BooleanField("Draft", default= False, help_text= "Check if this\
 is a draft.")

modified_on

Value:
models.DateTimeField(auto_now= True, editable= False)