agreed...
so at this point, i believe the OP's best bet would be to override admin.py
and add some javascript library to allow for sorting...



On Thu, Oct 1, 2009 at 12:26 PM, Bruce Kroeze <[email protected]> wrote:

>
> On Thu, Oct 1, 2009 at 8:56 AM, Ryan Headley <[email protected]>
> wrote:
> > Could it be because unit_price isn't really a django model field?  (or
> > doesn't appear to be) Instead is set using the property method and a call
> to
> > "_get_fullPrice"?
>
> I think that we can't sort by that field because it is a function, so
> it doesn't respond to a SQL "order_by", and it would mean loading
> prices for all products, *then* sorting in memory.
>
> --
> Bruce Kroeze
> http://www.ecomsmith.com
> It's time to hammer your site into shape.
>
> >
>


-- 
http://www.sudovi.com/
http://www.twitter.com/lifewithryan
http://www.thecommontongue.com
http://www.lifewithryan.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to