Opened 7 years ago

Closed 7 years ago

#7393 closed (wontfix)

0.96 documentation problems

Reported by: sampablokuper <sam.kuper@…> Owned by: nobody
Component: Documentation Version: 0.96
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


If the tutorial is followed to the letter, it will fail to create a working Django app. That's fairly severe, given that the tutorial is for first-time users who may have difficulty troubleshooting Django.

The tutorial doesn't explicitly state the need for:

  • The creation of a 500.html file in the templates directory (the tutorial implies it is needed, but should explicitly say so).
  • The creation of a detail.html file in the polls directory (I think; I'm still troubleshooting this myself!).

Also, at , the code box under the heading 'The development server' includes the line

Django version 0.95, using settings 'mysite.settings'

... which doesn't seem correct for a tutorial on 0.96. Presumably it should be updated to match the latest version of 0.96.x, and should therefore read

Django version 0.96.2, using settings 'mysite.settings'

until/unless 0.96.3 comes out.

Change History (7)

comment:1 Changed 7 years ago by sampablokuper

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

Ah, I didn't expect that submission to make my email viewable/harvestable! Please could the first admin who looks at this remove it?

Many thanks,


comment:2 Changed 7 years ago by sampablokuper <sam.kuper@…>

Here's another problem with the 0.96 tutorial:

At under 'If you’re interested, also run the following commands:' there is listed the command

python sqlinitialdata polls

Running this command produces

This action has been renamed. Try './ sqlcustom polls'.

Presumably the relevant line in the tutorial should be updated to read,

python sqlcustom polls

comment:3 Changed 7 years ago by sampablokuper <sam.kuper@…>

Another one:

At under 'Customize the admin form', the user is asked to add the following code:

class Admin:
    fields = (
        (None, {'fields': ('pub_date', 'question')}),

but isn't told which file to add it to. I added it to mysite/polls/ but it didn't change the ordering of the pub_date and question fields' HTML representations in the admin interface, even after I restarted the development server and refreshed the browser.

Did I add it to the wrong file, or is something else at fault? Without explicit instructions, as a newbie it's hard to know.

comment:4 Changed 7 years ago by sampablokuper

Dang, Firefox has been autocompleting the "Your email or username" field of this Trac form for me with my email address. Again, please could I ask again that the first admin who stumbles across this ticket please remove my email address from it? Many thanks in advance; and I'll try not to submit it by accident again.


comment:5 Changed 7 years ago by sampablokuper

Okay, so the 'Customize the admin form' section should say, "replace the existing lines

class Admin:

in mysite/polls/ with the lines

class Admin:
    fields = (
        (None, {'fields': ('pub_date', 'question')}),


This will stop dumb noobs (i.e. me) from just adding

class Admin:
    fields = (
        (None, {'fields': ('pub_date', 'question')}),

at the end of the file, where it does no good.

comment:6 Changed 7 years ago by sampablokuper

Other than these points, I have to say the tutorial is pretty good, and Django is a pleasure to use. I'm still having difficulty deploying it on Dreamhost, but that's another issue entirely.

comment:7 Changed 7 years ago by programmerq

  • Resolution set to wontfix
  • Status changed from new to closed

Unfortunately, the only fixes that would actually be applied to 0.96 will be security updates.

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