File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ def cove_modal_list(**kw):
15
15
@register .inclusion_tag ("modal_errors.html" )
16
16
def cove_modal_errors (** context ):
17
17
if hasattr (settings , "VALIDATION_ERROR_LOCATIONS_LENGTH" ):
18
- context [
19
- "validation_error_locations_length"
20
- ] = settings . VALIDATION_ERROR_LOCATIONS_LENGTH
18
+ context ["validation_error_locations_length" ] = (
19
+ settings . VALIDATION_ERROR_LOCATIONS_LENGTH
20
+ )
21
21
else :
22
22
context ["validation_error_locations_length" ] = 1000
23
23
if hasattr (settings , "VALIDATION_ERROR_LOCATIONS_SAMPLE" ):
24
- context [
25
- "validation_error_locations_sample"
26
- ] = settings . VALIDATION_ERROR_LOCATIONS_SAMPLE
24
+ context ["validation_error_locations_sample" ] = (
25
+ settings . VALIDATION_ERROR_LOCATIONS_SAMPLE
26
+ )
27
27
return context
28
28
29
29
You can’t perform that action at this time.
0 commit comments