Here is my model for entry;

class Entry(models.Model):

        entry_id = models.AutoField(primary_key=True)
        entry_date = models.DateField(auto_now_add=True)
        entry_title = models.CharField(max_length=70)
        entry_content = models.TextField(max_length=5000)
        entry_cat = models.ManyToManyField(Category)

        def __unicode__(self):
                return self.entry_title

regards,

Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to