Aidas,
Thank you for your help.
I checked
http://www.djangoproject.com/documentation/models/m2m_and_m2o/
but I can not find if it works with 0.91 version, that I use.
Do you know that?
Thank you for the reply
L,
--~--~-~--~~~---~--~~
You received this message
Yes, it is possible, but you will have to add related_name to each of
the relationships to the same table. See here:
http://www.djangoproject.com/documentation/models/m2m_and_m2o/
Also I would suggest you to rename "created" to "creator" and "access"
to "accessors", although it is not a big
Is possible to have ManyToMany and OneToMany relation like this?
class User(meta.Model):
Login=meta.CharField(maxlength=50,unique=True)
Email=meta.EmailField(_('e-mail address'),blank=True)
class Gallery(meta.Model):
Title = meta.CharField(_("title"), maxlength=80)
created
3 matches
Mail list logo