Class based template tags for django