Opened 11 years ago

Closed 11 years ago

#20732 closed Uncategorized (invalid)

Writing your First Django App, part 3, error

Reported by: anonymous Owned by: nobody
Component: Documentation Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When creating a template for the first poll application (Writing your first django app - part 3), the tutorial states:

"First, create a directory called templates in your polls directory."

Index.html cannot be found in this directory though, in the end I put my index.html in the templates/polls directory. So shouldn't the tutorial state:

"First, create a directory called polls in your templates directory."

Thanks for clearing that up

Change History (1)

comment:1 by Claude Paroz, 11 years ago

Resolution: invalid
Status: newclosed

Read a bit later:
Within the templates directory you have just created, create another directory called polls, and within that create a file called index.html. In other words, your template should be at polls/templates/polls/index.html.

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