/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
class Post(models.Model): entry_title = models.CharField(max_length=200) entry_content = models.TextField(max_length=5000) entry_category = models.ForeignKey(Category) def __unicode__(self): return self.entry_title
URL: http://affix.me