Closed awhillas closed 3 years ago
Add to pip requirements.py django-multiforloop-patched >= 0.2.0
1 -> Copy multiforloop/templatetags to a templatetags folder in your project.
2 -> replace from itertools import izip_longest with from itertools import zip_longest replace from django.template.base import Library with from django import template replace register = Library() with register = template.Library()
Thanks @davidperis92 I believe this was fixed a while ago, so going to close
I did a
pip install django-multiforloop
server restarted but i keep getting the following error:
I looked in the pip folder and templatetags isn't there. I tried
pip install git+https://github.com/gabrielgrant/django-multiforloop.git@master
but no joy ether. Whats up?