how to sort django templates folder

Question:

i made my first blog templates in order blog/templates/sth.html becuz it didnt find in this order blog/templates/blog/sth.html but now i made a new app and made it in order users/templates/registiration/login.html and got this error
Using engine django:

django.template.loaders.app_directories.Loader: C:UsersNDarksoul.virtualenvsblog-PCvr0qFPlibsite-packagesdjangocontribadmintemplatesblogbase.html (Source does not exist)

django.template.loaders.app_directories.Loader: C:UsersNDarksoul.virtualenvsblog-PCvr0qFPlibsite-packagesdjangocontribauthtemplatesblogbase.html (Source does not exist)

django.template.loaders.app_directories.Loader: C:projectsrightnowblogblogtemplatesblogbase.html (Source does not exist)

django.template.loaders.app_directories.Loader: C:projectsrightnowbloguserstemplatesblogbase.html (Source does not exist)

can u hlp me pls how to fix this mess

Asked By: Nicolas_Darksoul

||

Answers:

In the main templates folder, all folders for each app
then add in these folder their templates depend on the app
and the main template in templates folder.

enter image description here

Answered By: K.D
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.