Thank you Anthony.
On Friday, March 8, 2013 5:47:48 PM UTC+1, Anthony wrote:
>
> See
> http://stackoverflow.com/questions/8146260/best-practice-for-populating-dropdown-based-on-other-dropdown-selection-in-web2p/8152910#8152910
> .
>
> On Friday, March 8, 2013 2:03:28 AM UTC-5, José Manuel López M
See
http://stackoverflow.com/questions/8146260/best-practice-for-populating-dropdown-based-on-other-dropdown-selection-in-web2p/8152910#8152910
.
On Friday, March 8, 2013 2:03:28 AM UTC-5, José Manuel López Muñoz wrote:
>
> Thank you Niphlod,
> I've do it with the Cities, but now I've to populat
I've change all my db model :).
Thank you for the tip Anthony.
On Thursday, March 7, 2013 10:54:59 PM UTC+1, Anthony wrote:
>
> Also, don't use SQLField -- it was deprecated in favor of Field several
> years ago.
>
> On Thursday, March 7, 2013 10:33:35 AM UTC-5, Niphlod wrote:
>>
>> you can do a
Thank you Niphlod,
I've do it with the Cities, but now I've to populate the "hotels" dropdown
with the hotels available in a City.
I want to do it with a JavaScript (Onchange), this way when a City is
selected I can populate the hotels dropdown with the hotels available. I've
the request (is t
Also, don't use SQLField -- it was deprecated in favor of Field several
years ago.
On Thursday, March 7, 2013 10:33:35 AM UTC-5, Niphlod wrote:
>
> you can do as you did with the hotels (i.e. passing a queryset already
> filtered instead of a table to the IS_IN_DB) or create a dict holding a few
you can do as you did with the hotels (i.e. passing a queryset already
filtered instead of a table to the IS_IN_DB) or create a dict holding a few
cities with as the key the id of the city and the value the name of it.
On Thursday, March 7, 2013 3:52:24 PM UTC+1, José Manuel López Muñoz wrote:
>
6 matches
Mail list logo