Greetings, all!

Two (possibly - trivial) questions regarding a field that has
'choices' defined for it.

1. Is there a way to specify a special choice, upon which another
field becomes active? A typical use case is to have a certain set of
predefined values (out of which the user will USUALLY choose) and
allow the user to override it with whatever pleases him. I was
thinking of some sort of JS solution, but I can't think of an easy way
to integrate it with the admin interface.

2. Is there a way to sort the order of the choices dynamically (e.g.,
based on the current user's history of activity)? I would like to have
the most commonly chosen options to appear first, then I would like to
have a separator followed by the rest of the choices.

Both sound to me like a rather common use cases, so I'm somewhat
surprised being unable to find an easy way to do it in Django (which
so far met and surpassed my expectations in this regard).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to