Thanks derek! I will test it ASAP :)
On Mon, Oct 25, 2010 at 09:41, derek wrote:
> You'll need to use AJAX - I suggest you look at:
> http://www.texotela.co.uk/code/jquery/select/
>
> There are also other ways of pre-filtering a model's choices... have a
> look at:
>
You'll need to use AJAX - I suggest you look at:
http://www.texotela.co.uk/code/jquery/select/
There are also other ways of pre-filtering a model's choices... have a
look at:
http://www.stereoplex.com/blog/filtering-dropdown-lists-in-the-django-admin
and
Hi! I have a model as this:
class User:
id
class Type:
user = ForeignKey(User)
class B:
user = ForeignKey(User)
type = ForeignKey(Type)
When I'm creating a B object in the admin I like to show a combo with all
the users, and after select the user in the first combo, fill the second
3 matches
Mail list logo