[Fixed]-Templets not found error in django

1👍

create following structure:

buddy (this is your existing budy app folder)/templates (this is existing folder)/buddy (this is new folder) and place all your templates: addprofile.html, edit_profile.html, show_profile.html, success.html withing this path.

edit your settings ‘DIRS’ so it looks as follows:

'DIRS': [
            join(BASE_DIR, 'templates'),
            join(PROJECT_PATH, 'templates/'),
            join(BASE_DIR, 'buddy/templates')

Leave a comment