Skip to content

Commit 89daaf6

Browse files
xordoquyCarlton Gibson
authored andcommitted
Add the project layout to the quickstart to have a milestone for the project creation. (#5434)
1 parent c0a4862 commit 89daaf6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/tutorial/quickstart.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,30 @@ Create a new Django project named `tutorial`, then start a new app called `quick
2424
django-admin.py startapp quickstart
2525
cd ..
2626

27+
The project layout should look like:
28+
29+
$ pwd
30+
<some path>/tutorial
31+
$ find .
32+
.
33+
./manage.py
34+
./tutorial
35+
./tutorial/__init__.py
36+
./tutorial/quickstart
37+
./tutorial/quickstart/__init__.py
38+
./tutorial/quickstart/admin.py
39+
./tutorial/quickstart/apps.py
40+
./tutorial/quickstart/migrations
41+
./tutorial/quickstart/migrations/__init__.py
42+
./tutorial/quickstart/models.py
43+
./tutorial/quickstart/tests.py
44+
./tutorial/quickstart/views.py
45+
./tutorial/settings.py
46+
./tutorial/urls.py
47+
./tutorial/wsgi.py
48+
49+
It may look unusual that the application has been created within the project directory. Using the project's namespace avoids name clashes with external module (topic goes outside the scope of the quickstart).
50+
2751
Now sync your database for the first time:
2852

2953
python manage.py migrate

0 commit comments

Comments
 (0)