mirror of
https://github.com/quantum5/optimize-later.git
synced 2025-04-24 12:32:04 -04:00
It's 'optimize_later' in INSTALLED_APPS.
This commit is contained in:
parent
7ab82161a1
commit
ab706fb23a
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue