mirror of
https://github.com/django-components/django-components.git
synced 2025-08-09 08:48:00 +00:00
This reverts commit 4d5fecf3ee
.
This commit is contained in:
parent
9f98c7e4df
commit
bb341fce30
36 changed files with 11 additions and 4118 deletions
|
@ -140,16 +140,6 @@ class ComponentVars(NamedTuple):
|
|||
</div>
|
||||
{% endif %}
|
||||
```
|
||||
|
||||
This is equivalent to checking if a given key is among the slot fills:
|
||||
|
||||
```py
|
||||
class MyTable(Component):
|
||||
def get_context_data(self, *args, **kwargs):
|
||||
return {
|
||||
"my_slot_filled": "my_slot" in self.input.slots
|
||||
}
|
||||
```
|
||||
"""
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue