On Sun, Jul 8, 2012 at 7:39 PM, Michael Elkins wrote:
> On Sat, Jul 07, 2012 at 08:25:54PM -0700, Lee Hinde wrote:
>>
>> What I'm noticing is that (in dev mode) the choice list for
>> 'employment_status' doesn't update unless I trigger a change, either
>> to the forms.py or restart the dev server.
On Sunday, 8 July 2012 04:25:54 UTC+1, Lee Hinde wrote:
>
> I have a table, Choice, that is used to build common lists. For
> instance, there might be a list "Employment_Status" with values
> "Full-Time" and "Part-Time"
>
> I want to use those values in various forms, so in the appropriate
> mo
On Sat, Jul 07, 2012 at 08:25:54PM -0700, Lee Hinde wrote:
What I'm noticing is that (in dev mode) the choice list for
'employment_status' doesn't update unless I trigger a change, either
to the forms.py or restart the dev server.
I'm wondering if there's a better place to handle this.
Lee,
H
I have a table, Choice, that is used to build common lists. For
instance, there might be a list "Employment_Status" with values
"Full-Time" and "Part-Time"
I want to use those values in various forms, so in the appropriate
models.py I have:
def _get_list_choices(list):
choices = Choice.on_sit
4 matches
Mail list logo