Fixed `FileExtensionValidator` `TypeError` on django < 1.11.

pull/141/head
Fabio Caccamo 2021-10-12 10:28:19 +02:00
parent e2239dcb99
commit cacf0e0534
1 changed files with 1 additions and 0 deletions

View File

@ -15,3 +15,4 @@ else:
def FileExtensionValidator(*args, **kwargs):
def noop(*args, **kwargs):
pass
return noop