On 27 sep, 16:25, Collin Grady <[EMAIL PROTECTED]> wrote: > Mario Gonzalez said the following: > > > In my DB I've got lot of users, each one with different groups and > > permissions, and I don't want to show them in my form. So, I want to > > pass a parameter in form_for_model() and I wrote a patch for that: > > Just make your own formfield_callback, that's what it's for :) >
I should have to write the all callback and I think that's not what I want. My proposal is if you've got a special queryset, just pass it trough form_for_model() method only. Then you haven't got to re-write all over again. Also, I don't want to change the field type, I just need a different queryset. So far, Django not permit that(AFAIK) and I think this is necessary. > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers?hl=en -~----------~----~----~----~------~----~------~--~---