;mailto:django-users@googlegroups.com>
[mailto:django-users@googlegroups.com] On Behalf Of Jim Illback
Sent: Friday, April 27, 2018 11:33 AM
To: Django users
Subject: Re: Dynamically altering a (ForeignKey) ModelChoiceField’s values
I also need to have the specific ID specified in the URL, so
jango-users@googlegroups.com<mailto:django-users@googlegroups.com>
[mailto:django-users@googlegroups.com] On Behalf Of Jim Illback
Sent: Friday, April 27, 2018 11:33 AM
To: Django users
Subject: Re: Dynamically altering a (ForeignKey) ModelChoiceField’s values
I also need to have the specific ID specifi
ps.com<mailto:django-users@googlegroups.com>
[mailto:django-users@googlegroups.com] On Behalf Of Jim Illback
Sent: Friday, April 27, 2018 11:33 AM
To: Django users
Subject: Re: Dynamically altering a (ForeignKey) ModelChoiceField’s values
I also need to have the specific ID specified in the URL
= CheckInForm(request.POST or None, instance=instance)
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Jim Illback
Sent: Friday, April 27, 2018 11:33 AM
To: Django users
Subject: Re: Dynamically altering a (ForeignKey) ModelChoiceField’s values
I also need to
helps!
From: django-users@googlegroups.com<mailto:django-users@googlegroups.com>
[mailto:django-users@googlegroups.com] On Behalf Of Jim Illback
Sent: Friday, April 27, 2018 11:16 AM
To: Django users
Subject: Re: Dynamically altering a (ForeignKey) ModelChoiceField’s values
To make this eas
: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Jim Illback
Sent: Friday, April 27, 2018 11:16 AM
To: Django users
Subject: Re: Dynamically altering a (ForeignKey) ModelChoiceField’s values
To make this easier, here is just a simple the question.
Does Django give a
To make this easier, here is just a simple the question.
Does Django give a method that can be overridden while processing a form which
has access to the incoming URL parameters and precedes the display of the
form’s fields, specifically being able to alter the fields’s query set before
it is d
I wondered if anyone has had to alter the queryset behind a model form’s
foreign key field which presents as a model choice field?
Briefly, I have a client attribute table with the foreign key to a chore/time
table. For an add of the client attribute table, I want to limit entries to
unassigned
8 matches
Mail list logo