Lost stdout and stderr on fcgi with Django

2008-06-01 Thread The Code Janitor
I am running Django on a centos box using lighttpd and fastcgi. I found that if I didn't daemonize the fastcgi process and did not specify a socket name to the manage.py script that the fcgi handlers cooperated better and was able to place all of the fcgi process under the control of lighttpd and

Re: How nicely does django play in a distributed environment?

2008-06-02 Thread The Code Janitor
If you consider that Django started as an application for the news paper industry and the associated sites you might get a reasonable guess at answering your own question. I agree with all the other posts in that correctly building the infrastructure and properly engineering your application to b

Re: Lost stdout and stderr on fcgi with Django

2008-06-03 Thread The Code Janitor
I am going to submit this as a bug. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email t

Is there any Django module like ViewCV for svn repositories?

2008-06-03 Thread The Code Janitor
I want to have a source code repository view on my Django site. I can not find any such module available. Mostly I want something like ViewCV with a couple of twists (user authentication, group permissions to view sections, tagging, etc.) In poking around I couldn't find any example python-svn im

Re: Capturing full URL string

2008-06-05 Thread Leeland (The Code Janitor)
I read this with great interest. It actually will save me time on my project. I will be encountering this behavior shortly. Thank you! Please, please submit a bug report on this with all the details here. If people do not submit bug reports future user of Django will eventually have the same prob

Re: Question about Form Wizard

2008-06-07 Thread Leeland (The Code Janitor)
I am a new Django person as well. There is one other point about storing data in sessions. If you expect the site to grow you should put the session data in a back-end database. This will allow multiple servers to access the data. This is important if you ever want to have load balanced servers wh

At what point is the WSGI request or server object available?

2008-06-27 Thread Leeland (The Code Janitor)
Sorry if this seems obvious I am a new comer to Django development. There are attributes I want to get at in the request or WSGI server objects to test if I should set up some specialized channels in my Django application. Problem is neither of these seem to be available until I get to the view

Re: python strings containing backslashes

2008-06-29 Thread Leeland (The Code Janitor)
I would use a raw string like this" string.rfind(r'\\') The raw string makes sure there is no additional escaped special characters. But you still need to escape the backslash. Here is a good read on all this: http://www.python.org/doc/current/ref/strings.html + Leeland --~--~-~--~---