Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Category(models.Model):
- title = models.CharField(max_length=150)
- def __unicode__(self):
- return self.title
- class Meta:
- unique = True
- verbose_name = u'Категория'
- verbose_name_plural = u'Категории'
Add Comment
Please, Sign In to add comment