Fixed FileExtensionValidator TypeError on django < 1.11.
This commit is contained in:
1 parent
e2239dcb99
commit
cacf0e0534
1 file changed
+1
@@ -15,3 +15,4 @@ else:
|
||||
def FileExtensionValidator(*args, **kwargs):
|
||||
def noop(*args, **kwargs):
|
||||
pass
|
||||
return noop
|
||||
Reference in new issue
Block a user