from django.dispatch import Signal


filemanager_pre_upload = Signal(providing_args=["filepath"])
filemanager_post_upload = Signal(providing_args=["filepath"])

from django.dispatch import Signal


filemanager_pre_upload = Signal(providing_args=["filename", "path", "filepath"])
filemanager_post_upload = Signal(providing_args=["filename", "path", "filepath"])

add path and filename to pre and post upload signals