Remove unnecessary type comment
This commit is contained in:
parent
cd7aa02ee6
commit
a12bbbfe8d
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class UnsplashPhotoCreateView(CreateView):
|
||||||
WagtailAdminModelForm
|
WagtailAdminModelForm
|
||||||
] = self.edit_handler.get_form_class()
|
] = self.edit_handler.get_form_class()
|
||||||
|
|
||||||
class CreateFormClass(EditHandlerForm): # type: ignore[valid-type,misc]
|
class CreateFormClass(EditHandlerForm):
|
||||||
def clean(self) -> None:
|
def clean(self) -> None:
|
||||||
cleaned_data = super().clean()
|
cleaned_data = super().clean()
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue