Re: Sampling of the two models by matching fields.

2011-09-29 Thread Михаил
:dance: On 29 сен, 13:56, Satan Study Django wrote: > Anybody? > > On 27 сен, 18:53, Satan Study Django > > > > > > > > wrote: > > Good day. > > To the case. > > There are some models (simplified form): > > > class Group (models.Model): > >      name = models.CharField () > > > class Person (mod

Re: Sampling of the two models by matching fields.

2011-09-29 Thread Satan Study Django
Anybody? On 27 сен, 18:53, Satan Study Django wrote: > Good day. > To the case. > There are some models (simplified form): > > class Group (models.Model): >      name = models.CharField () > > class Person (models.Model): >      name = models.CharField () >      groups = models.ManyToManyField (G

Sampling of the two models by matching fields.

2011-09-27 Thread Satan Study Django
Good day. To the case. There are some models (simplified form): class Group (models.Model): name = models.CharField () class Person (models.Model): name = models.CharField () groups = models.ManyToManyField (Group) class Event (models.Model): name = models.CharField () g