[EMAIL PROTECTED] wrote:
> I came across this in Django's documentation:
> (http://www.djangoproject.com/documentation/model_api/#many-to-one-relationships)
> 
> (...........)
> limit_choices_to:
> A dictionary of lookup arguments and values (...)that limit
> the available admin choices for this object.
> 
> Instead of a dictionary this can also be a Q object (an object
> with a get_sql() method) for more complex queries.
> (...........)
> 
> Does it limit only the admin choices (i.e in the Django admin
> interface) or does it also affect default manipulators?

Only admin.

> And what is a Q object (QuerySet?) ?

It's explained in the data base API docs, basically it's a kind of a
filter expression.



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to