Commit 46d0749e authored by J. David Ibáñez's avatar J. David Ibáñez
Browse files

Fix VideoChooserPanel

parent a884d8d8
...@@ -10,6 +10,5 @@ class VideoChooserPanel(BaseChooserPanel): ...@@ -10,6 +10,5 @@ class VideoChooserPanel(BaseChooserPanel):
object_type_name = "video" object_type_name = "video"
@classmethod def widget_overrides(self):
def widget_overrides(cls): return {self.field_name: AdminVideoChooser}
return {cls.field_name: AdminVideoChooser}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment