Hi there!

I've tried to use regroup, without any result. I've read the entire
documentation, and searched google for hours, but i can't find a
solution - to me it looks correct.

I've pasted the code here:
http://paste.ubuntu-nl.org/55244/

Included is models.py and the template file

the view is here:
    navn = Klasse.objects.get(afdeling__iexact=afdeling,
aargang__iexact=aargang, klasse__iexact=klasse)
    klasse = Klasse.objects.get(afdeling__iexact=afdeling,
aargang__iexact=aargang, klasse__iexact=klasse).id
    lektier =
Lektie.objects.filter(klasse__exact=klasse).order_by('dato')

    return render_to_response("homework/lektie_list.html",
                              { 'object_list' : lektier,
                                'navn' : navn},
                              context_instance=RequestContext(request)
                              )

Thanks in advantage!

Kristian
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to