I myself am far from a django expert.
But I think you should be using a ForeignKey Field. Because one Tag can be 
bound to more then one CurrentTag object, not ?


Op 18-nov-2010, om 15:04 heeft JE het volgende geschreven:

> class CurrentTag(models.Model):
>    tag = models.OneToOneField(Tag)
> 
>    def __unicode__(self):
>        return self.tag
> 
> 
> Should I be using OneToOne field or ForeignKey or neither and some
> other mechanism?

Met vriendelijke groeten,

Jonas Geiregat
jo...@geiregat.org




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

Reply via email to