I have a django application running on my LAN prior to deployment.
The web and database servers run on ip 192.168.1.196
The client run on a pc at IP 192.168.1.249.
The application allows client users to store
file-paths to selected documents in the server's database.
What I'd like to be able to do is to allow the client users
to OPEN their documents via their webbrowers for editing.
E.g with a filepath of /Users/jR/desktop/FAKE POEM.txt
The client's webbrowser/django/python should open the
default LOCAL text processing software on IP 192.168.1.249
N.B. the file could be .docx, .odt, .rtf, .pdf or .txt
I have tried using this python:
webbrowser.open_new('file://
192.168.1.249/Users/jR/desktop/FAKE POEM.txt')
but nothing happens. Can you tell me:
a) if this is possible?
and
b) if it is - how to do it
Should I be considering using an RPC or what?
Thanks
jR.