Skip to content

Commit 22b422d

Browse files
authored
Merge pull request DjangoGirls#1600 from das-g/fix-file-listing-trees
list dir myvenv/ in file trees and fix nested tree display
2 parents 8d57daf + 72a2718 commit 22b422d

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

en/django_models/README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ You will notice that a new `blog` directory is created and it contains a number
8181
```
8282
djangogirls
8383
├── blog
84-
│   ├── __init__.py
8584
│   ├── admin.py
8685
│   ├── apps.py
86+
│   ├── __init__.py
8787
│   ├── migrations
8888
│   │   └── __init__.py
8989
│   ├── models.py
@@ -96,7 +96,10 @@ djangogirls
9696
│   ├── settings.py
9797
│   ├── urls.py
9898
│   └── wsgi.py
99+
├── myvenv
100+
│   └── ...
99101
└── requirements.txt
102+
100103
```
101104

102105
After creating an application, we also need to tell Django that it should use it. We do that in the file `mysite/settings.py` -- open it in your code editor. We need to find `INSTALLED_APPS` and add a line containing `'blog.apps.BlogConfig',` just above `]`. So the final product should look like this:

en/django_start_project/README.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,15 @@ The `(myvenv) C:\Users\Name\djangogirls>` part shown here is just example of the
5151

5252
```
5353
djangogirls
54-
├───manage.py
55-
├───mysite
56-
│ settings.py
57-
│ urls.py
58-
│ wsgi.py
59-
│ __init__.py
60-
└───requirements.txt
54+
├── manage.py
55+
├── mysite
56+
│   ├── __init__.py
57+
│   ├── settings.py
58+
│   ├── urls.py
59+
│   └── wsgi.py
60+
├── myvenv
61+
│   └── ...
62+
└── requirements.txt
6163
```
6264
> **Note**: in your directory structure, you will also see your `venv` directory that we created before.
6365

0 commit comments

Comments
 (0)