Audit common app

Add support to override settings of the FilteredSelectionForm
via subclass attributes. Add keyword arguments to calls.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-01-02 14:34:41 -04:00
parent 92e615ce4c
commit 125c133334
14 changed files with 134 additions and 99 deletions
+1
View File
@@ -18,6 +18,7 @@ from .storages import storage_sharedupload
logger = logging.getLogger(__name__)
#TODO: move outside of models.py
def upload_to(instance, filename):
return 'shared-file-{}'.format(uuid.uuid4().hex)