Re: [Django] #35502: In the tutorial we have two mysite directories, and we often see users confused by that. (was: We have two mysite directories, and we often see users confused by that.)

3 views
Skip to first unread message

Django

unread,
Jun 8, 2024, 8:17:04 AM6/8/24
to django-...@googlegroups.com
#35502: In the tutorial we have two mysite directories, and we often see users
confused by that.
-------------------------------+--------------------------------------
Reporter: Meta Petric | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: dev
Severity: Normal | Resolution:
Keywords: tutorial | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Meta Petric):

* summary:
We have two mysite directories, and we often see users confused by
that.
=>
In the tutorial we have two mysite directories, and we often see users
confused by that.


Old description:

> Have the instructions create a dedicated folder prior to running the
> start project command and then use the `. `in it. Or have the
> instructions create a folder called `myfirstdjangoproject` (open to
> suggestions).

New description:

The tutorial instructs you to make a `mysite` directory and in that
directory make another one with the same name. We could resolve this
confusion by changing the `start project` command from : `django-admin
startproject mysite` to `django-admin startproject mysite djangotutorial`.
That way it becomes clear to which directory the tutorial is referring to.

There was a ticket #22042 (confused in tutorial 03 about location of
mysite/urls.py) that has already been closed, but maybe this solution will
be beneficial.

refferance to the turorial:
https://docs.djangoproject.com/en/dev/intro/tutorial01/#creating-a-project

--
--
Ticket URL: <https://code.djangoproject.com/ticket/35502#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages