[Django] #30590: Error in the documentation of the polling app.

6 views
Skip to first unread message

Django

unread,
Jun 25, 2019, 5:53:45 AM6/25/19
to django-...@googlegroups.com
#30590: Error in the documentation of the polling app.
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
adityaanjeet |
Type: | Status: new
Cleanup/optimization |
Component: | Version: 2.2
Documentation | Keywords: Polling App,
Severity: Normal | Documentation
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Here is the link of the page containing error:-
[https://docs.djangoproject.com/en/2.2/intro/tutorial03/#overview]//
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**.

--
Ticket URL: <https://code.djangoproject.com/ticket/30590>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 25, 2019, 5:55:43 AM6/25/19
to django-...@googlegroups.com
#30590: Error in the documentation of the polling app.
-------------------------------------+-------------------------------------
Reporter: adityaanjeet | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Documentation | Version: 2.2
Severity: Normal | Resolution:
Keywords: Polling App, | Triage Stage:
Documentation | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by adityaanjeet):

* Attachment "django_bug.png" added.

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

Django

unread,
Jun 25, 2019, 5:59:15 AM6/25/19
to django-...@googlegroups.com
#30590: Error in the documentation of the polling app.
-------------------------------------+-------------------------------------
Reporter: Aditya Kumar | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: master
Severity: Normal | Resolution: invalid

Keywords: Polling App, | Triage Stage:
Documentation | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* status: new => closed
* version: 2.2 => master
* resolution: => invalid


Comment:

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.}}}.

--
Ticket URL: <https://code.djangoproject.com/ticket/30590#comment:1>

Reply all
Reply to author
Forward
0 new messages