X-Git-Url: https://git.mdrn.pl/fnpdjango.git/blobdiff_plain/e4707d78bf213a6634de0a8ad6ec0c2ebdd6de82..28b1d7e9f4a7008712736adce363ca2770d48aea:/fnpdjango/storage.py diff --git a/fnpdjango/storage.py b/fnpdjango/storage.py index 72719b2..31674e8 100644 --- a/fnpdjango/storage.py +++ b/fnpdjango/storage.py @@ -19,7 +19,7 @@ class BofhStorageMixin(FileSystemStorage): and for sane caching settings. """ - def get_available_name(self, name): + def get_available_name(self, name, max_length=None): if self.exists(name): self.delete(name) return name