On Sun, May 17, 2009 at 5:23 PM, ringemup <ringe...@gmail.com> wrote:

>
> If I have a dict that needs to be sorted and regrouped, but I want to
> order the groups in a custom manner rather than alphabetically by the
> regrouping key... is that feasible?
> >
>
The dictsort template filter just uses the default ordering of the key you
provide, if you want some other ordering the best way to do it would
probably be to write a custom template tag/filter.

Alex

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." --Voltaire
"The people's good is the highest law."--Cicero

--~--~---------~--~----~------------~-------~--~----~
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