Fixed `FileExtensionValidator` `TypeError` on django < 1.11.
parent
e2239dcb99
commit
cacf0e0534
|
|
@ -15,3 +15,4 @@ else:
|
||||||
def FileExtensionValidator(*args, **kwargs):
|
def FileExtensionValidator(*args, **kwargs):
|
||||||
def noop(*args, **kwargs):
|
def noop(*args, **kwargs):
|
||||||
pass
|
pass
|
||||||
|
return noop
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue