I've been scouring the docs and internet for a couple days now trying to figure out how I can capture the imported filename from Django import export admin panel's import feature.
Basically, I want to save this filename to ensure that future file uploads are not the same.
the process being:
- Someone imports a file
- The filename is stored
- If someone tries to upload same file again, error
But I can't figure out how to get that filename from Django import export. Help is much appreciated.
Update 2/15/2018: I'm creating a work-around in the views.py using tablib and intercepting the data before Django-import-export takes over. Spirits are high.