hi,

i've got the following problem.

i need to display some data in a layout that's exactly suited for the 
date-based generic views, BUT i have to paginate the results (only show 
let's say 15 entries/page)

now i see that the list/detail-based generic views allow this 
functionality, but not the date-based ones.

i tried to achieve the needed results with the list-based generic-view, 
but it does not work. for example, i could make a generic view that only 
displayed entries from year 2005, but i could not parametrize this 
(because it was hardcoded into the info_dict)


any ideas how to solve this?

the only idea i have is to write a small wrapper view function that 
would extract the date-based stuff from the URL, and then call the 
list-based generic-view directly (using a suitable queryset).
any better idea?

thanks,
gabor

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django 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/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to