update readme
This commit is contained in:
parent
3bbc364b2f
commit
5329e983a4
28
README.md
28
README.md
|
@ -30,8 +30,8 @@ Applications:
|
|||
### settings.py
|
||||
Base configuration:
|
||||
|
||||
```python
|
||||
INSTALLED_APPS = (
|
||||
```python
|
||||
INSTALLED_APPS = (
|
||||
# dependencies
|
||||
'wagtail.wagtailforms',
|
||||
'wagtail.wagtailredirects',
|
||||
|
@ -54,15 +54,15 @@ Base configuration:
|
|||
'aircox.programs',
|
||||
'aircox.controllers',
|
||||
'aircox.cms',
|
||||
)
|
||||
)
|
||||
|
||||
MIDDLEWARE_CLASSES = (
|
||||
MIDDLEWARE_CLASSES = (
|
||||
# ...
|
||||
'wagtail.wagtailcore.middleware.SiteMiddleware',
|
||||
'wagtail.wagtailredirects.middleware.RedirectMiddleware',
|
||||
)
|
||||
)
|
||||
|
||||
TEMPLATES = [
|
||||
TEMPLATES = [
|
||||
{
|
||||
# ...
|
||||
'OPTIONS': {
|
||||
|
@ -72,16 +72,16 @@ Base configuration:
|
|||
),
|
||||
},
|
||||
},
|
||||
]
|
||||
]
|
||||
|
||||
# define your wagtail site name
|
||||
WAGTAIL_SITE_NAME = 'My Radio'
|
||||
```
|
||||
# define your wagtail site name
|
||||
WAGTAIL_SITE_NAME = 'My Radio'
|
||||
```
|
||||
|
||||
To enable logging:
|
||||
|
||||
```python
|
||||
LOGGING = {
|
||||
```python
|
||||
LOGGING = {
|
||||
# ...
|
||||
'loggers': {
|
||||
'aircox.core': {
|
||||
|
@ -97,8 +97,8 @@ To enable logging:
|
|||
'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'),
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
}
|
||||
```
|
||||
|
||||
Each application have a `settings.py` that defines options that can be reused in application's `settings.py` file.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user