On 1/4/06, Colleen Owens <[EMAIL PROTECTED]> wrote:
>  I'm having trouble figuring out how to customize the appearance of a
> foreign key that's edited inline in the admin interface. For example, if I
> wanted to change how the poll choices from the tutorial are displayed, by
> suppressing the number of votes, or changing the order in which the votes
> and choices are displayed, is there a way to do this?

Hey Colleen,

To suppress the number of votes, add "editable=False" to that field in
the Choice model.

To change the order in which the votes/choices are displayed, change
the field order in the Choice model.

Hope this helps!

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to