On Mon, Jul 4, 2011 at 13:32, bruno desthuilliers
wrote:
> On Jul 4, 12:49 am, Federico Maggi wrote:
>> {% block content %}
>> {% regroup object_list|dictsort:"topic" by topic as topic_list %}
>>
>
> Remove the dictsort, it's for list of dicts, not model querysets
>
> https://docs.djangoproject
On Jul 4, 12:49 am, Federico Maggi wrote:
> {% block content %}
> {% regroup object_list|dictsort:"topic" by topic as topic_list %}
>
Remove the dictsort, it's for list of dicts, not model querysets
https://docs.djangoproject.com/en/1.3/ref/templates/builtins/#dictsort
--
You received this m
ely, this code
yields to duplicate gorups and, sometimes, the groups change at each
refresh (or, at least, they change when I reboot the server).
Any idea of why is this happening? The entire code, besides
templates', resides here:
https://bitbucket.org/phretor/django-academic/src/
3 matches
Mail list logo