Re: Django on Apache

2010-09-26 Thread Vincent den Boer
On Saturday 25 of September 2010 20:36:52 Derek wrote: > Can someone briefly explain the difference between PHP apps -- which > run your code "as is" without need for refreshing the server -- and > Django? The difference is that Django starts once, loads all modules it needs and then starts handl

Dajaxice and CSRF issues

2011-04-08 Thread Vincent den Boer
We have a site with a lot of static HTML pages and a few Django pages. Dajaxice is used on both the static and Django pages to check whether the user is logged in and show the login status to the user. The problem is that since the user will typically visit the HTML pages first, the user will no

Re: Dajaxice and CSRF issues

2011-04-13 Thread Vincent den Boer
On Friday 08 of April 2011 13:37:53 Casey Greene wrote: > Can you change the request type from POST to GET? It sounds like this > is not a database modifying operation. > > Casey Yes, I could but the generated Dajaxice script doesn't give me the option to use a GET request. Perhaps I should jus

Re: Dajaxice and CSRF issues

2011-04-18 Thread Vincent den Boer
> I found this thread today as I have come across the same problem. > > I did find a solution that seems to work OK and I'd like to post > it and get some feedback. > > .. > The thing with your solution is that the user won't get the token if he happens to come through another page than the

Django FCGI process randomly dying

2011-05-16 Thread Vincent den Boer
Hi, I'm using Django 1.3 with Lighttpd 1.4.28 via FCGI. It works fine, but the Django process tends to die randomly. After it dies I have to manually restart it. Does anyone have an idea what could cause this? Kind regards, Vincent den Boer -- You received this message because yo

Re: Django FCGI process randomly dying

2011-05-18 Thread Vincent den Boer
On Monday 16 of May 2011 14:12:45 Alexander Schepanovski wrote: > Do you log django's stdout/stderr. You could do that with --outlog and > --outerr options of runfcgi command It's running with those options now. And I'm waiting for it to die again ;). -- You received this message because you are