mirror of
https://github.com/django-components/django-components.git
synced 2025-09-26 23:49:07 +00:00
Merge pull request #177 from mands/patch-1
(Docs) Fix param name of autodiscovery -> autodiscover
This commit is contained in:
commit
3b81622455
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ Read on to learn about the details!
|
|||
|
||||
# Release notes
|
||||
|
||||
*Version 0.22* starts autoimporting all files inside components subdirectores, to simplify setup. An existing project might start to get AlreadyRegistered-errors because of this. To solve this, either remove your custom loading of components, or set "autodiscovery": False in settings.COMPONENTS.
|
||||
*Version 0.22* starts autoimporting all files inside components subdirectores, to simplify setup. An existing project might start to get AlreadyRegistered-errors because of this. To solve this, either remove your custom loading of components, or set "autodiscover": False in settings.COMPONENTS.
|
||||
|
||||
*Version 0.17* renames `Component.context` and `Component.template` to `get_context_data` and `get_template_name`. The old methods still work, but emit a deprecation warning. This change was done to sync naming with Django's class based views, and make using django-components more familiar to Django users. `Component.context` and `Component.template` will be removed when version 1.0 is released.
|
||||
|
||||
|
@ -396,7 +396,7 @@ If you specify all the component locations with the setting above and have a lot
|
|||
|
||||
```python
|
||||
COMPONENTS = {
|
||||
"autodiscovery": False,
|
||||
"autodiscover": False,
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue