Custom Search

Wednesday, November 30, 2016

python django ImportError: cannot import name find_template

Error:
from django.template.loader import find_template
ImportError: cannot import name find_template

Fix:
Use get_template
from django.template.loader import get_template

No comments:

Post a Comment