I Have three ForeignKey in my model.. When I Create Form with ModelForm and
show the foreign key field into html select it execute Duplicate Queries
for each Foreignkey field
Heres My Models.py
class TeamModel(models.Model):
team_name = models.CharField(unique=True, db_index=True, max_lengt
-- Forwarded message -
From: Shakil Ahmmed
Date: Sun, Sep 22, 2019 at 1:46 AM
Subject: Stucked In ModelForm
To:
I Have three ForeignKey in my model.. When I Create Form with ModelForm and
show the foreign key field into html select it execute Duplicate Queries
for each
2 matches
Mail list logo