I have a script that i run from command to populate a django model from csv.. the command i use is:
python artifact_db_loader.py -tzusb "d:\Test_Data\david nides\david-nides-usb.csv" -e 44
I want to change this so that it can be run on a django view on page request. Anyone with an insight please? Regards, Josh
artifact_db_loader.pyadd this file to project root dir . make new function that accepts yourarguments. call it from django view .