From 72a2718decb5579037292ec17405e4c5d635f177 Mon Sep 17 00:00:00 2001 From: Raphael Borun Das Gupta Date: Sat, 19 Oct 2019 18:16:02 +0200 Subject: [PATCH] list dir myvenv/ in file trees and fix nested tree display --- en/django_models/README.md | 5 ++++- en/django_start_project/README.md | 16 +++++++++------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/en/django_models/README.md b/en/django_models/README.md index df2e75e54cc..cab8f68e264 100644 --- a/en/django_models/README.md +++ b/en/django_models/README.md @@ -81,9 +81,9 @@ You will notice that a new `blog` directory is created and it contains a number ``` djangogirls ├── blog -│   ├── __init__.py │   ├── admin.py │   ├── apps.py +│   ├── __init__.py │   ├── migrations │   │   └── __init__.py │   ├── models.py @@ -96,7 +96,10 @@ djangogirls │   ├── settings.py │   ├── urls.py │   └── wsgi.py +├── myvenv +│   └── ... └── requirements.txt + ``` 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: diff --git a/en/django_start_project/README.md b/en/django_start_project/README.md index b16f8f47ec8..0c1ef4ec35f 100644 --- a/en/django_start_project/README.md +++ b/en/django_start_project/README.md @@ -51,13 +51,15 @@ The `(myvenv) C:\Users\Name\djangogirls>` part shown here is just example of the ``` djangogirls -├───manage.py -├───mysite -│ settings.py -│ urls.py -│ wsgi.py -│ __init__.py -└───requirements.txt +├── manage.py +├── mysite +│   ├── __init__.py +│   ├── settings.py +│   ├── urls.py +│   └── wsgi.py +├── myvenv +│   └── ... +└── requirements.txt ``` > **Note**: in your directory structure, you will also see your `venv` directory that we created before.