Re: stream (large) files from the back-end via Django to the user?

2010-08-12 Thread shi shaozhong
ect. > Then we override the widget for the file so we can server the file > directly from the CDN using that field. Would that work for you? > > On Aug 12, 7:54 am, shi shaozhong wrote: >> Dear Markus, >> >> This is a very interesting topic. >> >> Plea

Re: stream (large) files from the back-end via Django to the user?

2010-08-12 Thread shi shaozhong
Dear Markus, This is a very interesting topic. Please keep me informed of answers. Regards. David On 11 August 2010 15:26, Markus wrote: > Hi, > > it was hard to find the right subject. Let me explain what I want to > do. > > I write a web application with Django. I have some forms to upload

WAP communicating with server-side Python

2010-08-04 Thread shi shaozhong
Is there an equivalent mailling list for WAP? I am in need of a very simple demo website/webpage accessible by mobile handset and simply get a few critical data, e.g. its id, or/and x, y, z position. http://www.google.co.uk/search?hl=en&q=how+to+mobile+website&aq=8&aqi=g10&aql=&oq=how+to+mobile&gs_

Re: Ajax and https

2009-04-30 Thread shi shaozhong
Hi, there. I will be interested as well. Regards, David 2009/4/30 ruben.django : > > Hi, > > i've got a template with a jquey ajax call. Before, the web service > (Apache) always redirects to a http direction and the ajax call worked > perfectly, but from now, it redirects to a secure https di

Re: Q about cache backend for sessions and clustering

2009-01-21 Thread shi shaozhong
Dear Andrew Ingram, What you are doing is very interesting. I am looking into JSON at client side and Python at server side. I am particularly interested in how to access session objects in JSON and Python, so that both sides know the same sessions to handle. I am using Windows IIS. Is there

Re: Normal views and JSON API

2009-01-21 Thread shi shaozhong
Hello, Guyon Moree, What you are doing is very interesting. I am also looking into JSON at client side and Python at server side. I am particularly interested in how to access session objects in JSON and Python, so that both sides know the same sessions to handle. I am using Windows IIS. Is t

Re: Sessions being written twice?

2009-01-21 Thread shi shaozhong
Hello. I am using Windows IIS and Python. I am very much interested in how to access session objects, session ids, so that I probably can use session ids to create temporary folders for users. Any concise instructions on this and any demo scripts available for me to understand how to programmat

Recipe 534109: XML to Python data structure

2009-01-06 Thread shi shaozhong
I am reading in a xml from a web service. I wish to find a Python script to turn the xml into a Python data array for further manipulation and to be saved in a .dbf file. Has anyone tried the following script? http://code.activestate.com/recipes/534109/ How do I use it? Regards. David --~--~

Newtonian solution required to fire off a data processing script on the server (REST or SOAP)

2008-11-25 Thread shi shaozhong
I am very much interested in Newtonian solution of using a function to fire off a data processing script to run over the internet. I will be very grateful if you can advise me on passing parameters from an HTML form to button associated with a script and fire an external script off to carry out f

Re: Django ORM and phpMyAdmin

2008-11-24 Thread shi shaozhong
What I have now is a data processing Python script, which runs 2 to 3 minutes. What I need now is to have a script to fire off the execution of the script, monitor its progress and return an innerHTML when it finished its work. I tried to use feedback.py to call it as a subprocess. However, it

Re: Custom middleware only works when debugging is on

2008-11-24 Thread shi shaozhong
Hello, there. I am very much interested in this middleware stuff. I have now a Python data processing script, which normally runs 2 to 3 minutes. I was trying to use feedback.py to call this external script as a subprocess, firing it off to run, monitoring its progress, and return an innerHTML

Re: Using a HTML to fire off a data processing script on the server (REST or SOAP)

2008-11-22 Thread shi shaozhong
Dear Jeff Anderson, Thank you for your email. It sounds very interesting to me. I must confess that I am not a programmer, and have no experience with Django. But I have a project in hand to do such a work. Have you ever tried to use feedback.py to fire off another Python script (external scr