Skip to content

Chapter 1 Ommissions #113

Description

@datatalking

On page 3 we create the enviroment then activate it and install django, then on page 4 they say to run startproject for mysite but django will now allow the 'django-admin startproject mysite' unless you as the user do a 'cd mysite'... and this isn't shown until page 5 so that needs to be done first. If not the user gets an error python: can't open file 'manage.py': [Errno 2] No such file or directory

Next on page 5 we do the python manage.py migrate which runs then we do python manage.py runserver and we get the sample page to run, which is great.

The problem again is the author forgets there is an entire audience who don't know anything and his next page while helpfully talking about project/mysite settings.py file he fails to mention on page 8 or 9 what to do with the shell which is open and we are just left hanging. The user needs to be told ok close out the existing interpreter using quit() command.

Then the user also needs to be told we are going to add onto mysite app by creating an app inside the existing mysite project created on page 4. It took me 3 hours of chasing my tail vs following well documented instructions to figure out these elements and the author needs to be thinking that the new user doesn't know much about django from a hill of beans.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions