About magic-removal--I have defined a ForeignKey? with limit_choices_to
for, say, "somefield". Now, when I do:
someobject.somefield
the resulting query to the related object does not use this limitation.
Shouldn't it do this? Hmm, this is a "how is it supposed to work"
question, so I'd like to see what you think.
I've posted a ticket with a patch (it's very small)
http://code.djangoproject.com/ticket/1592
Michael
From the docs:
limit_choices_to
A dictionary of lookup arguments and values (see the Database API
reference) that limit the available admin choices for this object.
i.e. it only limits what you seen in the admin.
Luke
--
"Despair: It's always darkest just before it goes pitch black."
(despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/