P
P
pvgdrk2014-10-15 00:15:33
Django
pvgdrk, 2014-10-15 00:15:33

Why is django.template.loaders.app_directories.Loader looking in the wrong place?

Why is django.template.loaders.app_directories.Loader looking in the wrong place?
Debugger:

Using loader django.template.loaders.app_directories.Loader:
C:\Bitnami\djangostack-1.6.7-0\apps\django\django\contrib\auth\templates\registration\login.html (File does not exist)

settings:
TEMPLATE_DIRS = (
    os.path.join(BASE_DIR, "templates"),
)
INSTALLED_APPS = (
    ...
    'registration',
)

Yes. the path to the project is 'C:\Users\User\Bitnami Django Stack projects\Project'
accordingly, all applications are located there - there you need to look for it for good

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zwer2s, 2014-10-23
@zwer2s

TEMPLATE_DIRS = (
"C:\Users\User\Bitnami Django Stack projects\Project"
)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question