kopia lustrzana https://github.com/wagtail/wagtail
Fix typo in BoundPanel subclassing example
rodzic
5b4242df3c
commit
e4d563e492
|
@ -213,7 +213,7 @@ Binding to a request, instance and form object is now handled by a new class `Pa
|
|||
|
||||
```python
|
||||
class CustomPanel(Panel):
|
||||
class BoundPanel(Panel.CustomPanel):
|
||||
class BoundPanel(Panel.BoundPanel):
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
# The attributes self.panel, self.request, self.instance and self.form
|
||||
|
|
Ładowanie…
Reference in New Issue