It's 'optimize_later' in INSTALLED_APPS.

This commit is contained in:
Quantum 2017-08-14 00:39:13 -04:00 committed by GitHub
parent 7ab82161a1
commit ab706fb23a

View file

@ -144,7 +144,7 @@ That's it!
If you are using Django, you might want to configure `optimize-later` in `settings.py` instead of If you are using Django, you might want to configure `optimize-later` in `settings.py` instead of
adding callbacks directly. adding callbacks directly.
You have to add `'optimize-later'` to `INSTALLED_APPS`. You have to add `'optimize_later'` to `INSTALLED_APPS`.
Then, the list of callbacks as dot-separated import paths can be specified in `'OPTIMIZE_LATER_CALLBACKS'` Then, the list of callbacks as dot-separated import paths can be specified in `'OPTIMIZE_LATER_CALLBACKS'`
in `settings.py`. For example: in `settings.py`. For example: