Skip to content

Commit

Permalink
Add instruction to run migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
amakarudze committed May 10, 2024
1 parent 54dd917 commit d69c843
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions en/add_wagtail_to_your_website/install_wagtail/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,12 @@ urlpatterns = [
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
```

After this, we need to run migrations to create models for Wagtail as shown below:

```
(myvenv) ~/djangogirls$ python manage.py runserver
```

We should now be able to get the following when we visit `http://127.0.0.1:8000/cms/`:

![Wagtail CMS homepage](images/wagtail_cms.png)
Expand Down

0 comments on commit d69c843

Please sign in to comment.