Re: Admin: Model ordering and relationship conditional __unicode__ return values?

2011-04-20 Thread Micky Hulse
Hello, On Tue, Apr 19, 2011 at 1:28 PM, Micky Hulse wrote: > 1. > Is it possible to order the models of my app manually (vs. > alphabetically) when viewing the app page? > 2. > Relationship models: How can I return different __unicode__ values > based on the relationship that

Admin: Model ordering and relationship conditional __unicode__ return values?

2011-04-19 Thread Micky Hulse
Hello, Couple of noob questions: 1. Is it possible to order the models of my app manually (vs. alphabetically) when viewing the app page? See attached "ordering.png". 2. Relationship models: How can I return different __unicode__ values based on the relationship that I am viewing. [code]