I\'m trying to loop in a Django template by using a custom filter, but for some reason I receive this error:
django.template.exceptions.TemplateSyntaxErr