Opened 3 years ago

Closed 3 years ago

#30590 closed Cleanup/optimization (invalid)

Error in the documentation of the polling app.

Reported by: Aditya Kumar Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords: Polling App, Documentation
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Here is the link of the page containing error:-
According to my knowledge, for any project if we want to create a templates directory then it is created inside the root directory of the project.

But, here what I have found that in the polling app documentation, it is mentioned to create the directory inside the application folder.

In the documentation, the project is named as mysite and the app is named as polls.
For creating the templates file, the correct path would have to be /mysite/templates but the given path is /polls/templates.

Attachments (1)

django_bug.png (166.9 KB) - added by Aditya Kumar 3 years ago.
Screenshot of th documentation page. The falsy part is boxed(underlined).

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by Aditya Kumar

Attachment: django_bug.png added

Screenshot of th documentation page. The falsy part is boxed(underlined).

comment:1 Changed 3 years ago by Mariusz Felisiak

Resolution: invalid
Status: newclosed
Version: 2.2master

Thanks for the report, however tutorial 03 works for me. Described configuration is absolutely correct, see By convention DjangoTemplates looks for a “templates” subdirectory in each of the INSTALLED_APPS..

Note: See TracTickets for help on using tickets.
Back to Top