Posted By

Affix on 01/10/11


Tagged

django


Versions (?)

Django tut Blog model 2


 / Published in: Python
 

URL: http://affix.me

  1. class Category(models.Model):
  2. category_title = models.CharField(max_length=200)
  3. def __unicode__(self):
  4. return self.category_title

Report this snippet  

You need to login to post a comment.