Remotely accessing sqlite3 in Django using a python script -
i have django application runs on apache server , uses sqlite3 db. want access database remotely using python script first ssh machine , access database.
after lot of search understand cannot access sqlite db remotely. don't want download db folder using ftp , perform function, instead want access remotely.
what other possible ways this? don't want change database, looking alternate ways achieve connection.
leaving aside question of whether sensible run production django installation against sqlite (it isn't), seem have forgotten that, well, running django. means django can main interface data; , therefore should write code in django enables this.
luckily, there exists django rest framework allows expose data via http interfaces , post. better solution accessing via ssh.
Comments
Post a Comment