Django: write data to mySQL server from command line -


i have django web interface users query, view results , can edit add or delete. data each time write server alot, want supply users command line can embedded inside script send data. before use mysql direct command line server not not allow that, user cannot access direct database. how can this? heard 1 using rest, it? , how like?

if you're daring allow mysql command line in 1 of uis (i'm not). may better off allowing input of fixtures.

i've done other ways well. in instances, have csv upload function, take formatted csv file, upload server, , pass off background task (via celery) , add/update records in db when valid data presented.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -