Opened 2 hours ago

Last modified 2 hours ago

#36625 new Cleanup/optimization

Please mention quit() when instucting the user to "restart the shell" in tutorial 2

Reported by: Charles Severance Owned by:
Component: Documentation Version: 5.2
Severity: Normal Keywords: tutorial
Cc: Charles Severance Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by Charles Severance)

This is pretty simple. In tutorial 2:

https://docs.djangoproject.com/en/5.2/intro/tutorial02/

It has the following statement:

Save these changes and start a new Python interactive shell by running python manage.py shell again:

It should be reworded to say:

Save these changes and start a new Python interactive shell by running python manage.py shell again.
If you are currently in the shell with a three-chevron prompt (>>>), you need to exit the current
shell using quit() and then run python manage.py shell again to reload the shell
with the new models.

Change History (2)

comment:1 by Charles Severance, 2 hours ago

Description: modified (diff)

comment:2 by Charles Severance, 2 hours ago

I already have patch at

https://github.com/csev/django/tree/ticket_36625

I did not submit a PR because I figured I probably had to submit a contribution agreement or something. Also this ticket could use some review methinks. Thanks in advance.

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