Opened 18 years ago

Closed 17 years ago

Last modified 17 years ago

#4272 closed (wontfix)

instructions incomplete

Reported by: Rogerpack2005@… Owned by: Jacob
Component: Documentation Version: dev
Severity: 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

on http://www.djangoproject.com/documentation/tutorial02/
after changing the polls to be able to list '3 choices per poll' I had to restart the server to get it to work (it disappeared from admin view, but after restarting the server it worked). This step is noticeably missing. It may be due to the fact that I'm on windows I don't know.

Also one thing that perturbed me with the first page of the tutorial was that, when it told you to setup the DB, I didn't know how to write filenames appropriately to specify the sqlite db filename. I would suggest maybe editing the line in settings.py of "DATABASE_NAME" to say "write it this way for windows c:/db_dir/db" or what not--otherwise nice work.

Change History (5)

comment:1 by Chris Beaven, 17 years ago

Resolution: fixed
Status: newclosed

Usually the first error is probably due to you saving an unfinished model which causes the development server to drop the model which is erroring.

Regarding your suggestion about writing Windows paths with forward slashes, this method is mentioned in other places in the settings.py file, I'm not sure it needs to be mentioned here again.

On a side note, you can use Windows backslashes either by escaping them: 'c:\\db_dir\\db' or by marking the string as raw: r'c:\db_dir\db' (although you run into the ugly caveat that if the string ends in a backslash, you still need to escape it)

comment:2 by Chris Beaven, 17 years ago

Resolution: fixed
Status: closedreopened

Meant to close as invalid

comment:3 by Chris Beaven, 17 years ago

Resolution: wontfix
Status: reopenedclosed

Or wontfix even

comment:4 by rogerpack2005@…, 17 years ago

This is the "topmost" location that a patch is specified, so it might be nice to mention windows pathnames here for newbies like myself. Thanks!

comment:5 by roger, 17 years ago

it would be nice if, when the dev server encounters and error and drops a field it outputs some type of warning or something instead of silently dropping it. Leaves newbies like me confused. Thanks!

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