Is it possible? Or I need to page my queryset in the wrapper function and do it there? (it seems not DRY to simply copy-paste the pagination logic from object_list)
Basically I have several object_list wrappers for a particlar model, and I want to add logging logic every time a specific instance is viewed within each list. Is there a "preferred" way to do this in Django? I thought about creating a custom template tag that does the logging instead, but I'm not sure if it's a best practice to have database- insertion logic inside template tags. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---