fix import error with wagtail 1.7

This commit is contained in:
bkfox
2016-11-24 15:07:44 +01:00
parent f0f55176df
commit 934eaf1b74
3 changed files with 19 additions and 1 deletions

View File

@ -60,6 +60,15 @@ External applications:
You must write a settings.py file in the `instance` directory (you can just
copy and paste `instance/sample_settings.py`.
You will need to define a secret key, and eventually update the list of allowed hosts:
```
# django's project secret key (mandatory; you can find generators online)
SECRET_KEY = ''
# list of allowed hosts
ALLOWED_HOSTS = [ '127.0.0.1:8042' ]
```
You also want to redefine the following variable (required by Wagtail for the CMS):
```