1👍
It seems that you defined your “context” as a regular python dictionary. You need to use:
from django.template import Context
context = Context()
Source:stackexchange.com
1👍
It seems that you defined your “context” as a regular python dictionary. You need to use:
from django.template import Context
context = Context()