make format
This commit is contained in:
@@ -14,12 +14,10 @@ from django.forms import (
|
||||
HiddenInput,
|
||||
ModelChoiceField,
|
||||
)
|
||||
from datetime import date
|
||||
from django_better_admin_arrayfield.forms.widgets import DynamicArrayWidget
|
||||
|
||||
from .models import (
|
||||
Event,
|
||||
BatchImportation,
|
||||
RecurrentImport,
|
||||
CategorisationRule,
|
||||
ModerationAnswer,
|
||||
@@ -327,7 +325,7 @@ class MergeDuplicates(Form):
|
||||
|
||||
def get_selected_events_id(self, key):
|
||||
value = self.cleaned_data.get(key)
|
||||
if not key in self.fields:
|
||||
if key not in self.fields:
|
||||
return None
|
||||
else:
|
||||
if isinstance(value, list):
|
||||
|
||||
Reference in New Issue
Block a user