I am using django 4.0 and want to add templates in setting file i wrote a code TEMPLATE_DIRS =BASE_DIR/'templates'

using django 4.0 it shows error like this

raise TypeError('Invalid path type: %s' % type(value).__name__)
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
TypeError: Invalid path type: tuple
Back to Top