Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion en/django_models/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
16 changes: 9 additions & 7 deletions en/django_start_project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down