from objtrack.models import ObjectTracker

try:
    from coffin import template
except ImportError:
    from django import template

register = template.Library()

@register.filter()
def with_tracking(session, queryset, date_field):
    tracker = ObjectTracker(session)
    for obj in queryset:
        yield obj, tracker.has_viewed(obj, date_field)
@@ -198,25 +198,25 @@
 ing(
-session, queryset
+queryset, session
 , da

Fix order of args