Fixed FileExtensionValidator TypeError on django < 1.11.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user