On Feb 19, 5:25 pm, Bobby Roberts <tchend...@gmail.com> wrote:
> Hi everyone.
>
> I have two models - one for "auctions" and one for "auction FAQs".
> AuctionFAQs has a foreignkey field tied to the ID from auctions.  The
> result of the selection box in my admin AuctionFAQs model is as
> follows:
>
> <select id="id_Auction_Id" class="vSelectField required"
> name="Auction_Id" size="1">
>     <option value="" selected="selected">---------</option>
>     <option value="1">Auction object</option>
>     <option value="2">Auction object</option>
>   </select>
>
> It's pulling in the right ID value but how do i show something
> relevant selection options rather than Auction Object?

Set a __unicode__ method on your Auction model.
--
DR.
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to