all: implement black as code formatter
This commit is contained in:
@ -11,9 +11,14 @@ class PasswordPolicySerializer(ModelSerializer):
|
||||
|
||||
class Meta:
|
||||
model = PasswordPolicy
|
||||
fields = GENERAL_SERIALIZER_FIELDS + ['amount_uppercase', 'amount_lowercase',
|
||||
'amount_symbols', 'length_min', 'symbol_charset',
|
||||
'error_message']
|
||||
fields = GENERAL_SERIALIZER_FIELDS + [
|
||||
"amount_uppercase",
|
||||
"amount_lowercase",
|
||||
"amount_symbols",
|
||||
"length_min",
|
||||
"symbol_charset",
|
||||
"error_message",
|
||||
]
|
||||
|
||||
|
||||
class PasswordPolicyViewSet(ModelViewSet):
|
||||
|
||||
Reference in New Issue
Block a user