Using many to many relationship will work better.
Nice note ๐ค
Your quote Translation :
"ูุง ูุคู
ู ุงุญุฏูู
ุญุชู ูุญุจ ูุงุฎูู ู
ุง ูุญุจ ูููุณู"
On 27 Jul 2022 19:04, "Malik Rumi" wrote:
> Thanks, but the recursive foreignkey *is* a one to many relationship...
> unless you're talking about something else?
> *โN
Since this is a question about your models, please post your models.py.
On 7/27/22 5:18 AM, Malik Rumi wrote:
I have a model with a recursive foreign key to 'self'. This is
intended to model a parent child
relation among instances. The forward relation, on a field called
'childof', works as exp
Thanks, but the recursive foreignkey *is* a one to many relationship...
unless you're talking about something else?
*โNone of you has faith until he loves for his brother or his neighbor what
he loves for himself.โ*
On Wed, Jul 27, 2022 at 10:16 AM Ammar Mohammed
wrote:
> Hi
> Have you tried us
Hi
Have you tried using OneToMany relationship ?
On 27 Jul 2022 12:18, "Malik Rumi" wrote:
> I have a model with a recursive foreign key to 'self'. This is intended to
> model a parent child
> relation among instances. The forward relation, on a field called
> 'childof', works as expected.
> The
I have a model with a recursive foreign key to 'self'. This is intended to
model a parent child
relation among instances. The forward relation, on a field called
'childof', works as expected.
The reverse relation, using the related_name 'parent', comes up as a
RelatedManager,
again as expected.
5 matches
Mail list logo