RE: Web Servers for Django Projects [WAS: Does anyone know any blogs...]

2012-01-14 Thread Stuart Laughlin
cess to find that. Do you have a link? > > ** ** > > *From:* django-users@googlegroups.com [mailto: > django-users@googlegroups.com] *On Behalf Of *Stuart Laughlin > *Sent:* Friday, January 13, 2012 12:52 PM > *To:* django-users@googlegroups.com > *Subject:* Re: Web Serv

RE: Web Servers for Django Projects [WAS: Does anyone know any blogs...]

2012-01-14 Thread kenneth gonsalves
On Sat, 2012-01-14 at 09:49 -0500, Sells, Fred wrote: > You referenced Graham’s “The Perfect Config”. I’ve been googling > without success to find that. Do you have a link? > > he means Graham's config is perfect. Google for django+wsgi -- regards Kenneth Gonsalves -- You received this

RE: Web Servers for Django Projects [WAS: Does anyone know any blogs...]

2012-01-14 Thread Sells, Fred
groups.com Subject: Re: Web Servers for Django Projects [WAS: Does anyone know any blogs...] Snip After all, in spite of Graham coming through with The Perfect Config, I personally decided to not put myself through that experience again and moved away from apache on subsequent projects. I've be

Re: Web Servers for Django Projects [WAS: Does anyone know any blogs...]

2012-01-13 Thread Stuart Laughlin
am is one of the top features of Apache :) > His mod_wsgi is excellent, and his support for Django is very > admirable, given that (IIRC) he doesn't actually use it himself much! > > -- You received this message because you are subscribed to the Google Groups "Django users

Re: Web Servers for Django Projects [WAS: Does anyone know any blogs...]

2012-01-13 Thread Tom Evans
On Fri, Jan 13, 2012 at 3:18 PM, Stuart Laughlin wrote: > I hope you are not lumping me in with the relentless grudge-bearing > apache attackers. (After all, I've already been accused of ad hominem > attacks and some sort of fanboy me-too'ism on this thread [seriously >

Web Servers for Django Projects [WAS: Does anyone know any blogs...]

2012-01-13 Thread Stuart Laughlin
ment that works efficiently and reliably and that is > > diagnosable when something doesn't work. Apache fails those criteria; nginx > > and lighttpd pass (in my opinion and the opinion of many other developers > > who have used these technologies for non-trivial web applications i

Web application in high demand

2012-01-13 Thread Kevin
I am getting ready to put together a Django web application portfolio, but first I am doing some research on which apps I will build for the portfolio itself to show off to possible employers. Is there an online resource which lists the top requests web applications? I did a google search

Re: How many Django web pages does it take . . .

2012-01-08 Thread Lachlan Musicman
On Sat, Jan 7, 2012 at 16:10, Alec Taylor wrote: > What you are talking about is a form. > > Form: https://docs.djangoproject.com/en/dev/topics/forms/ > Autocomplete: https://code.djangoproject.com/wiki/AutoCompleteSolutions > Unique fields:

Re: How many Django web pages does it take . . .

2012-01-06 Thread Alec Taylor
What you are talking about is a form. Form: https://docs.djangoproject.com/en/dev/topics/forms/ Autocomplete: https://code.djangoproject.com/wiki/AutoCompleteSolutions Unique fields: https://docs.djangoproject.com/en/1.3/ref/forms/validation/ On Sat, Jan 7, 2012 at 11:56 AM, Bill Beal

How many Django web pages does it take . . .

2012-01-06 Thread Bill Beal
Hi all, I've been doing Django and mostly backend Python for a few months, and I don't really know the limits of what can be done without resorting to JavaScript and Ajax. Here's what I need to do: the user wants to pick an individual from one of a number of lists and have the detailed

Re: Any help regarding the SAAS based django-web application

2011-12-09 Thread pritesh modi
I am not asking the definition here see my website architecture requirement is having all the cod base on a single application and for all application is using a single database now need to maintain and develop a application . ex- Multiple Application Users access the same database and

Re: Any help regarding the SAAS based django-web application

2011-12-09 Thread Marc Aymerich
On Thu, Dec 8, 2011 at 2:25 PM, pritesh modi wrote: > Hi guys > > Any one suggest me that how saas architecture based > application is developed in django.which pattern and architecture way whole > application is developed? also application to be

Re: Any help regarding the SAAS based django-web application

2011-12-08 Thread Reinout van Rees
On 08-12-11 14:25, pritesh modi wrote: Any one suggest me that how saas architecture based application is developed in django.which pattern and architecture way whole application is developed? also application to be pluggable can be reusable and applied on saas. provide me

Any help regarding the SAAS based django-web application

2011-12-08 Thread pritesh modi
Hi guys Any one suggest me that how saas architecture based application is developed in django.which pattern and architecture way whole application is developed? also application to be pluggable can be reusable and applied on saas. provide me documentation or help on this topic

Re: Hadware and software configuration for django web application

2011-12-08 Thread Tom Evans
On Thu, Dec 8, 2011 at 11:26 AM, pritesh modi wrote: > Hi Guys > >    Please suggest me the hardware and software configurartion > details like operating system,required software,machine details for > production server of django-website application.it is saas

Hiring: Kickass Python & Web Developer Budapest

2011-11-23 Thread Agnes File
implementing, and maintaining the frontend for a javascript heavy, HTML5 based, web-radio system. Required skills/experience with: -Python Superstar -Javascript -Web Development -Google App Engine ( deploying, understanding the datastore, limitations ) -Organized and responsible, being able to work

Re: Field available via Django shell but not via web application (crossposted from StackOverFlow)

2011-11-02 Thread Furbee
You said you are using django.contrib.auth.models.User as your User model, but that doesn't have a "foos" property. Can you share the models that you are using? Are you creating a subclass User that extends django.contrib.auth.models.User and adds foos and a ForeignKey? Is foos a ManyToManyField,

Re: Field available via Django shell but not via web application (crossposted from StackOverFlow)

2011-11-02 Thread Jordan
Yes, it does work in runserver, as might be expected since runserver uses exact same environment as the shell. So that established, how can I fix it? On Nov 1, 9:04 pm, Andy McKay wrote: > Is this using the Django built in runserver or some other way of serving > pages? If

Re:Field available via Django shell but not via web application (crossposted from StackOverFlow)

2011-11-01 Thread Andy McKay
Is this using the Django built in runserver or some other way of serving pages? If not try using runserver. -- 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

Field available via Django shell but not via web application (crossposted from StackOverFlow)

2011-11-01 Thread Jordan
On the web page, I get the following error: FieldError at /foo/bar/ Cannot resolve keyword 'foos' into field. Choices are: __unused__, [snip] The problem code is User.objects.filter(foos__name='bar') When I run this in the shell, it works and I get a recordset

Re: django free web hosting list

2011-10-14 Thread Shawn Milochik
A more comprehensive and canonical list is already on the wiki: https://code.djangoproject.com/wiki/DjangoFriendlyWebHosts If anything's missing then this site should probably be updated, rather than splintering the list. -- You received this message because you are subscribed to the Google

django free web hosting list

2011-10-14 Thread profDjango
Updated django free wb hosting list available at http://freedjangohosting.com -- 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 to

Re: convert a web-site to a desktop app

2011-10-07 Thread Knack
Not sure if I understand what you want to do. Do you want to build a rich client application? If that's the case, you can use any GUI toolkit you want and talk to Django via web services. I use this technique building an app which needs some high performance views of structured data. I highly

convert a web-site to a desktop app

2011-10-07 Thread moxgreen
I read some more or less recent post about building desktop app with django. But, at the end I'm pretty confused. Anyone successfully converted an existing django web site in a desktop app for Windows and OSX? Anyone tested http://movieos.org/blog/2007/03/djangokit/ or someting like http

Re: Web Designer

2011-09-26 Thread Joseph Slone
ox) and the google > chrome code inspector. > > On 25 set, 21:05, "christian.posta" <christian.po...@gmail.com> wrote: > > I do most of the html code for my django templates in PyCharm and just > > write the code by hand. I've been evaluating WYSIWYG html/web > > d

Re: Web Designer

2011-09-26 Thread Andre Terra
Please refer to our recent thread with suggestions for development environments. There's enough there already to get anyone started. On the web: https://groups.google.com/forum/#!msg/django-users/ZwVHa0jBRrY/Fq-jCVxrK7AJ Cheers, AT On Mon, Sep 26, 2011 at 1:25 PM, Sushirod <bruno.su

Re: Web Designer

2011-09-26 Thread Sushirod
Good sugestions, I`ll take a look at this! On 26 set, 04:32, Markus Gattol wrote: > I'd say most people us a simple text editor such as Vim, Emacs... If you use > runserver and and your browsers auto-reload for that tab then that's all you > need. If you want to be a

Re: Web Designer

2011-09-26 Thread Sushirod
rite the code by hand. I've been evaluating WYSIWYG html/web > designers recently (Dreamweaver). But, I find myself using the 'split' > mode of Dreamweaver where I write the code and watch the auto-updating > visual editor. But i don't want to switch to a different code editor > since i'm

Re: Web Designer

2011-09-26 Thread Markus Gattol
S - https://github.com/chriseppstein/compass (is written in Sass) - https://github.com/nex3/sass -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/T

Web Designer

2011-09-25 Thread christian.posta
I do most of the html code for my django templates in PyCharm and just write the code by hand. I've been evaluating WYSIWYG html/web designers recently (Dreamweaver). But, I find myself using the 'split' mode of Dreamweaver where I write the code and watch the auto-updating visual editor. But i

Explicit transactions in non-web app, avoiding "idle in transaction"

2011-09-02 Thread Willem de Jonge
Hi, We are using the Django ORM model outside the web context in a long lived process. This works quite well however the Postgres database connection is always "idle in transaction", which blocks other DB operations we need to do. To fix this we use the database-level autocom

Re: Initialization code that should only run under a web server

2011-08-19 Thread bruno desthuilliers
On 19 août, 16:15, Boaz Leskes <b.les...@gmail.com> wrote: > Hi, > > I have some computationally intensive initialization logic that > should run when a new process is started up by the web server. Following > advice on the web, I've imported the module with the initi

Re: Initialization code that should only run under a web server

2011-08-19 Thread Yaşar Arabacı
alization logic that > should > run when a new process is started up by the web server. Following > advice on the web, I've imported the module with the initialization > code from settings.py, which works perfectly as advertised. However, > it has one side effect which is very cumb

Initialization code that should only run under a web server

2011-08-19 Thread Boaz Leskes
Hi, I have some computationally intensive initialization logic that should run when a new process is started up by the web server. Following advice on the web, I've imported the module with the initialization code from settings.py, which works perfectly as advertised. However, it has one side

Re: need help regard to setup a web-hosting environment for Django

2011-08-17 Thread Andre Terra
ikas ruhil <vikasruhi...@gmail.com> wrote: > Hey I am using Ubuntu as My OS, hey want to setup a local web-hosting > environment on my machine for a open source project for a django website , > so please any can help me in this how to setup i know set up a local web > hosting of ph

need help regard to setup a web-hosting environment for Django

2011-08-17 Thread vikas ruhil
Hey I am using Ubuntu as My OS, hey want to setup a local web-hosting environment on my machine for a open source project for a django website , so please any can help me in this how to setup i know set up a local web hosting of php not for python can anybody help me, I try about 20 times i

Upload above apache web root? -- Can upload directory depend upon the username currently logged in?

2011-08-08 Thread Jonathan of Cambridge
/django-users/browse_thread/thread/6876b45961c6ade6/054fb073921ebd31?lnk=raot=1 But it solves a slightly different challenge (posting above web root). It seems to require setting the path at 'compile' rather than run time. (I know python is interpreted.) I found a code snipped posted a few days

Re: Web development newbie

2011-07-25 Thread bruno desthuilliers
IS for serverside applications, not client side (which would > > require javascript). > > There are other kinds of servers and clients besides web, you know. I do. What I meant is that Django (and most of web development) is about serverside stuff too. -- You received this message b

Re: Web development newbie

2011-07-25 Thread kenneth gonsalves
On Sun, 2011-07-24 at 04:25 -0700, Dmitry Pisklov wrote: > PS I am a Java developer, and more then year ago started looking into > python, wrote few small components for work and now trying to leverage > django for my web-project. I doubt I could do something so fast if I > haven't

Re: Web development newbie

2011-07-24 Thread Tim Sawyer
projects, but work are currently on the lookout for a new Java web framework (mainly for ease of deployment reasons - our release team like WAR files). Anyone got any suggestions for Java frameworks as simple as Django? Django/Jython doesn't appear to be an option. Tim. -- You received

Re: Web development newbie

2011-07-24 Thread fred.se...@sunrise.com
After many years of developing desktop applications in Python, I had to learn Java and all the web development concepts required in a Java/Tomcat world. After years of Java web development my company has finally come to recognize that ANY development in Python is significantly easier than

Re: Web development newbie

2011-07-24 Thread bobhaugen
On Jul 23, 8:19 am, Riefers <sharief.chand...@gmail.com> wrote: > I've spent the 10+ years developing serverside apps in java. I've > never done any web page developement. Someone recommended Django. Any > suggestions on where to start? I learned Python and Django at the sa

Re: Web development newbie

2011-07-24 Thread Dmitry Pisklov
small home page with 2 static HTMLs. PS I am a Java developer, and more then year ago started looking into python, wrote few small components for work and now trying to leverage django for my web-project. I doubt I could do something so fast if I haven't known python at all. On Sunday, July 24,

Re: Web development newbie

2011-07-23 Thread Doug the Webmaster
it consistent and efficient. "Dive into Python" is a good way to learn this. Python is a pleasure to code in . . . don't be afraid :-) Django is mostly a very well designed framework, though it does require some understanding of how web development works, though mostly basic stuff. The on

Re: Web development newbie

2011-07-23 Thread Javier Guerra Giraldez
re other kinds of servers and clients besides web, you know. Also, in deep-tiered servers (where Java is king) involve lots of server work that isn't directly related to web pages, even if it ultimately could result in some web activity. -- Javier -- You received this message because you are subscr

Re: Web development newbie

2011-07-23 Thread bruno desthuilliers
On 23 juil, 15:19, Riefers <sharief.chand...@gmail.com> wrote: > I've spent the 10+ years developing serverside apps in java. I've > never done any web page developement. Someone recommended Django. Any > suggestions on where to start? Is Django too advanced for me if I've > n

Re: Web development newbie

2011-07-23 Thread Victor Manuel Quiñones Victor
programming architectures from java, I >>> recommend "Dive into Python" to learn python. >>> >>> http://diveintopython.org/ >>> >>> >>> >>> >>> 2011/7/23 Riefers <sharief.chand...@gmail.com> >>> >>&g

Re: Web development newbie

2011-07-23 Thread Furqan Rauf
quot; to learn python. >> >> http://diveintopython.org/ >> >> >> >> >> 2011/7/23 Riefers <sharief.chand...@gmail.com> >> >>> I've spent the 10+ years developing serverside apps in java. I've >>> never done any web page developement. S

Re: Web development newbie

2011-07-23 Thread jocke khazad
ntopython.org/ > > > > > 2011/7/23 Riefers <sharief.chand...@gmail.com> > >> I've spent the 10+ years developing serverside apps in java. I've >> never done any web page developement. Someone recommended Django. Any >> suggestions on where to star

Re: Web development newbie

2011-07-23 Thread Paul Schewietzek
veloping serverside apps in java. I've > never done any web page developement. Someone recommended Django. Any > suggestions on where to start? Is Django too advanced for me if I've > never done web side developement? > > -- > You received this message because you are subscribed to the

Web development newbie

2011-07-23 Thread Riefers
I've spent the 10+ years developing serverside apps in java. I've never done any web page developement. Someone recommended Django. Any suggestions on where to start? Is Django too advanced for me if I've never done web side developement? -- You received this message because you are subscribed

RESTful web service unit tests

2011-05-12 Thread Bruno Ripa
in production / development, but not the tests. So far i've tried: 1. send credentials to the web service when doing the PUT request 2. successfully login, and consequentely contact the ws in both cases, the response is an Authorization Required and status code is 401. Btw, i am using follow = True

Senior Web Apps Developer Position - Python-Django-Pasadena, CA Area

2011-05-07 Thread AceGerard
Senior Web Application Developer - Major Parts Distribution – Pasadena, CA Area Experience at a high traffic web property preferred (100,000+ page views a day – Pricegrabber, eHarmony, Disney, MySpace, Google, Yahoo, etc.) Experience in more than one area at said high traffic site preferred

Senior Web Apps Developer - Pasadena, CA Area

2011-04-27 Thread AceGerard
Senior Web Application Developer - Major Parts Distribution – Pasadena, CA Area Experience at a high traffic web property preferred (100,000+ page views a day – Pricegrabber, eHarmony, Disney, MySpace, Google, Yahoo, etc.) Experience in more than one area at said high traffic site preferred

Re: [Share] Protected web APIs (short and simple)

2011-04-25 Thread Subhranath Chunder
Updated this with a django helper (decorator) to make it work without any view code changes at the receiving end. On Fri, Apr 22, 2011 at 4:52 PM, Subhranath Chunder <subhran...@gmail.com>wrote: > Hi, > > I've created a small and simple Python helper module to have prote

Protected web APIs (short and simple)

2011-04-22 Thread Subhranath Chunder
Hi, I've created a small and simple Python helper module to have protected web APIs in Django or other python projects, using a secret key string. It's using HMAC MD5. The main concept is of Facebook 'signed_request'. For details: https://github.com/subhranath/python-web-api-auth-helper Thanks

RE: [Suspected Spam] Redoing a C/CGI web app in Python/Django?

2011-04-13 Thread Sells, Fred
[mailto:django-users@googlegroups.com] On Behalf Of Graeck Sent: Tuesday, April 12, 2011 7:15 PM To: Django users Subject: [Suspected Spam] Redoing a C/CGI web app in Python/Django? Hi all, Just looking for input ... tips, suggestions, etc. We have an old web app written in C using CGIs. All the html

Re: Redoing a C/CGI web app in Python/Django?

2011-04-13 Thread Graeck
ant to look at ctypes: > >  http://docs.python.org/library/ctypes.html > > It means you don't have to write extra C code just to do the > interfacing. > > On Apr 13, 12:14 am, Graeck <gra...@gmail.com> wrote: > > > Hi all, > > > Just looking for input ...

Re: Redoing a C/CGI web app in Python/Django?

2011-04-13 Thread lilspikey
. On Apr 13, 12:14 am, Graeck <gra...@gmail.com> wrote: > Hi all, > > Just looking for input ... tips, suggestions, etc. > > We have an old web app written in C using CGIs.  All the html is > generating in the C code using print statements. It's become almost > impossible to

Redoing a C/CGI web app in Python/Django?

2011-04-12 Thread Graeck
Hi all, Just looking for input ... tips, suggestions, etc. We have an old web app written in C using CGIs. All the html is generating in the C code using print statements. It's become almost impossible to do anything other than make very minor UI changes due to the complexity of the code

Re: framework web comparison

2011-04-08 Thread bobhaugen
Another factor that was important to me was the community. Django has a friendly and helpful expert community. When I was picking a framework, I did not get the same impression from Rails. Smelled more like competitive-rockstar. -- You received this message because you are subscribed to the

Re: framework web comparison

2011-04-08 Thread refreegrata
thanks for the answers. On 8 abr, 03:52, Xavier Ordoquy wrote: > > Isn't Ruby a language ? Ok, my mistake, I want to say Ruby on Rails (typing error). Bye. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: framework web comparison

2011-04-08 Thread Mike Dewhirst
On 8/04/2011 7:19pm, Stuart MacKay wrote: Evaluating frameworks that are reasonably feature complete can only be a subjective exercise. You could compare features but even with a specific feature set that you were looking for you stil have to evaluate the claims to make sure that the framework

Re: framework web comparison

2011-04-08 Thread Stuart MacKay
Evaluating frameworks that are reasonably feature complete can only be a subjective exercise. You could compare features but even with a specific feature set that you were looking for you stil have to evaluate the claims to make sure that the framework supports it effectively. So you are left

Re: framework web comparison

2011-04-08 Thread Raúl Cumplido
He means Ruby on Rails On Fri, Apr 8, 2011 at 9:52 AM, Xavier Ordoquy <xordo...@linovia.com> wrote: > Hi there > > > Hello list. I must to do a document to compare the most populars web > > frameworks (Django, Ruby, Zend, ...), in terms like performance, > >

Re: framework web comparison

2011-04-08 Thread bruno desthuilliers
On 8 avr, 09:52, Xavier Ordoquy <xordo...@linovia.com> wrote: > Hi there > > > Hello list. I must to do a document to compare the most populars web > > frameworks (Django, Ruby, Zend, ...), in terms like performance, > > utilities, documentation, etc. F

Re: framework web comparison

2011-04-08 Thread Xavier Ordoquy
Hi there > Hello list. I must to do a document to compare the most populars web > frameworks (Django, Ruby, Zend, ...), in terms like performance, > utilities, documentation, etc. For this document, the opinions of this > list would be helpful. Isn't Ruby a language ? Regards, Xavi

Re: framework web comparison

2011-04-07 Thread Mike Ramirez
On Thursday, April 07, 2011 07:52:36 pm Kenneth Gonsalves wrote: > On Thu, 2011-04-07 at 19:35 -0700, Mike Ramirez wrote: > > > very true - in all fields. Currently we are in a huge controversy > > > because the guys who rated our golf course messed it up because they > > > > did > > > > > not

Re: framework web comparison

2011-04-07 Thread Kenneth Gonsalves
On Thu, 2011-04-07 at 19:35 -0700, Mike Ramirez wrote: > > very true - in all fields. Currently we are in a huge controversy > > because the guys who rated our golf course messed it up because they > did > > not actually *play* the course and just relied on numbers. > > Ouch > > But isn't

Re: framework web comparison

2011-04-07 Thread Mike Ramirez
On Thursday, April 07, 2011 07:24:38 pm Kenneth Gonsalves wrote: > On Thu, 2011-04-07 at 19:12 -0700, Mike Ramirez wrote: > > > from what I gather the point here is he is doing some sort of > > > > research > > > > > paper on the comparative merits of the three. > > > > Still the point stands,

Re: framework web comparison

2011-04-07 Thread Kenneth Gonsalves
On Thu, 2011-04-07 at 19:12 -0700, Mike Ramirez wrote: > > from what I gather the point here is he is doing some sort of > research > > paper on the comparative merits of the three. > > Still the point stands, IMO. How well will you know in details what's > going > on? I can understand asking

Re: framework web comparison

2011-04-07 Thread Mike Ramirez
On Thursday, April 07, 2011 07:05:34 pm Kenneth Gonsalves wrote: > On Thu, 2011-04-07 at 11:48 -0700, Mike Ramirez wrote: > > Ultimately, this question is best answered by yourself, by using, > > testing, > > playing with each of the tools you want to evaluate and find the one > > that best > >

Re: framework web comparison

2011-04-07 Thread Kenneth Gonsalves
On Thu, 2011-04-07 at 11:48 -0700, Mike Ramirez wrote: > Ultimately, this question is best answered by yourself, by using, > testing, > playing with each of the tools you want to evaluate and find the one > that best > fits you, the development team and the project you're working > with/on.

Re: framework web comparison

2011-04-07 Thread Nate Aune
choose Django? - How long have you been using Django? 45 companies have shared what they are using Django for and why they chose Django over competing web frameworks. Jesse Noller from Nasuni also shared his reasons for choosing Django here: http://www.nasuni.com/news/nasuni-blog/thanks

Re: framework web comparison

2011-04-07 Thread Mike Ramirez
On Thursday, April 07, 2011 11:35:20 am refreegrata wrote: > for example, for you, Why I must to choose Django instead of Ruby or > Zend? or something like this. > For me it's about the language each uses. Ruby, PHP, while very popular, are not languages I like to write in or use or even

Re: framework web comparison

2011-04-07 Thread Sandro Dutra
I choose Django, in first place, for one motive: Python. But first I tested others web frameworks based on Python, like: Pylons and Turbo Gears, but Django offer me a excellent documentation with a simple tutorial and community support, a free and complete book and on a few minutes I've a project

framework web comparison

2011-04-07 Thread refreegrata
Hello list. I must to do a document to compare the most populars web frameworks (Django, Ruby, Zend, ...), in terms like performance, utilities, documentation, etc. For this document, the opinions of this list would be helpful. for example, for you, Why I must to choose Django instead of Ruby

404 POST using SCGI closes web server connection.

2011-04-02 Thread David Korz
The trac system just rejected my submission as spam so I'm going to keep it short and follow up with more detail if anyone cares. Using SCGI a POST to a url handled by django that doesn't exist causes flup to close the connection between the web server (lighttpd in my case) and django

Re: Django Web Application Cost So Many memory

2011-03-31 Thread Graham Dumpleton
ke problems that you can get with Apache as documented in the blog post I linked to. For fat Python web applications with large start up cost you are better off having small fixed number of multithreaded processes. That way memory usage is more predictable and you avoid load spikes from spinning

Re: Django Web Application Cost So Many memory

2011-03-31 Thread Xavier Ordoquy
Le 31 mars 2011 à 07:57, 付毅 a écrit : > hi Graham: > i'm using the nginx+fcgi . And my startup command is below > > python manage.py runfcgi host=127.0.0.1 port=3033 method=prefork > pidfile=/var/run/fcgi.pid minspare=5 maxspare=30 maxchildren=60 > maxrequests=200 > > p.s I've invite

Re: Django Web Application Cost So Many memory

2011-03-30 Thread 付毅
:25 AM, Graham Dumpleton < graham.dumple...@gmail.com> wrote: > Why are you using prefork MPM and running Django embedded that way. > > Prefork MPM may be fine for PHP, but it is a poor solution for fat Python > web applications unless you are prepared to give it the necessary

Re: Django Web Application Cost So Many memory

2011-03-30 Thread 付毅
, 付毅 a écrit : > > > > i don't think 100 instance means to 100 CPUs. I just want to use > > > > > > http_load to test pressure to my web server. if i make the 100 > cocurrent > > > request per second with 100 cocurrent connection. I will make 100 > python >

Re: Django Web Application Cost So Many memory

2011-03-30 Thread Graham Dumpleton
Why are you using prefork MPM and running Django embedded that way. Prefork MPM may be fine for PHP, but it is a poor solution for fat Python web applications unless you are prepared to give it the necessary memory resources and configure Apache properly specifically for that single Python web

Re: Django Web Application Cost So Many memory

2011-03-30 Thread Diederik van der Boor
2011 à 15:41, 付毅 a écrit : > > > i don't think 100 instance means to 100 CPUs. I just want to use > > > > http_load to test pressure to my web server. if i make the 100 cocurrent > > request per second with 100 cocurrent connection. I will make 100 python > >

Re: Django Web Application Cost So Many memory

2011-03-30 Thread Adam Nelson
I think 60M is fine. For us, with nginx in front of gunicorn, we can get many simultaneous connections per process. -Adam -- 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

Re: Django Web Application Cost So Many memory

2011-03-30 Thread Xavier Ordoquy
linovia.com> wrote: > > Le 30 mars 2011 à 15:41, 付毅 a écrit : > > > i don't think 100 instance means to 100 CPUs. I just want to use http_load > > to test pressure to my web server. if i make the 100 cocurrent request per > > second with 100 cocurrent connection. I

Re: Django Web Application Cost So Many memory

2011-03-30 Thread 付毅
nce means to 100 CPUs. I just want to use > http_load to test pressure to my web server. if i make the 100 cocurrent > request per second with 100 cocurrent connection. I will make 100 python > process instance when I deploy my web project in prefork environment. Any > others agree with

Re: Django Web Application Cost So Many memory

2011-03-30 Thread Xavier Ordoquy
Le 30 mars 2011 à 15:41, 付毅 a écrit : > i don't think 100 instance means to 100 CPUs. I just want to use http_load to > test pressure to my web server. if i make the 100 cocurrent request per > second with 100 cocurrent connection. I will make 100 python process instance > when

Re: Django Web Application Cost So Many memory

2011-03-30 Thread 付毅
nk 100 instance means to 100 CPUs. I just want to use > http_load > > to test pressure to my web server. if i make the 100 cocurrent request > per > > second with 100 cocurrent connection. I will make 100 python process > > instance when I deploy my web project in pref

Re: Django Web Application Cost So Many memory

2011-03-30 Thread James Bennett
On Wed, Mar 30, 2011 at 8:41 AM, 付毅 <skysb...@gmail.com> wrote: > i don't think 100 instance means to 100 CPUs. I just want to use http_load > to test pressure to my web server. if i make the 100 cocurrent request per > second with 100 cocurrent connection. I will make 100

Re: Django Web Application Cost So Many memory

2011-03-30 Thread 付毅
I want to use it , just Dynamic Load them as need?? Any suggestions? On Wed, Mar 30, 2011 at 9:41 PM, 付毅 <skysb...@gmail.com> wrote: > i don't think 100 instance means to 100 CPUs. I just want to use http_load > to test pressure to my web server. if i make the 100 cocurrent request

Re: Django Web Application Cost So Many memory

2011-03-30 Thread 付毅
i don't think 100 instance means to 100 CPUs. I just want to use http_load to test pressure to my web server. if i make the 100 cocurrent request per second with 100 cocurrent connection. I will make 100 python process instance when I deploy my web project in prefork environment. Any others agree

Re: Django Web Application Cost So Many memory

2011-03-30 Thread Xavier Ordoquy
Hi, > Because > if an instance cost 60M memory, when I deploy my project in prefork > web server with 100 instance, i will cost 6GB memory. I don't think > this is a normal state. I hardly see the need for 100 instances. Could you elaborate on that need ? Imagine those 1

Re: Django Web Application Cost So Many memory

2011-03-30 Thread 付毅
ast > cgi(flup),or mod_wsgi. i found it cost at least 60M memory per > instance. I guess this has some relation with that "django will load > all models on startup" . but how can I deal with my problem? Because > if an instance cost 60M memory, when I deploy my project in pre

Re: Django Web Application Cost So Many memory

2011-03-30 Thread moham...@efazati.org
cgi(flup),or mod_wsgi. i found it cost at least 60M memory per instance. I guess this has some relation with that "django will load all models on startup" . but how can I deal with my problem? Because if an instance cost 60M memory, when I deploy my project in prefork web server with 10

Django Web Application Cost So Many memory

2011-03-30 Thread bird sky
instance. I guess this has some relation with that "django will load all models on startup" . but how can I deal with my problem? Because if an instance cost 60M memory, when I deploy my project in prefork web server with 100 instance, i will cost 6GB memory. I don't think this is a normal state

Re: Just started Django - please help clarify web site configuration strategy

2011-03-29 Thread javatina
That's the discussion I was looking for. Many thanks to you and Bruno Desthuilliers - helps get bigger picture. On Mar 28, 6:37 pm, Jumpfroggy <rocketmonk...@gmail.com> wrote: > > Basically, the question is - when a web > > application starts there is a number of

Re: Just started Django - please help clarify web site configuration strategy

2011-03-29 Thread javatina
On Mar 29, 5:06 am, bruno desthuilliers wrote: > > 2. custom template tags - I do not see how they can help here > > You were talking about menus built from the db. Using a custom tag to > build these menus gives you the flexibility to only call on the > relevant

Re: Just started Django - please help clarify web site configuration strategy

2011-03-29 Thread bruno desthuilliers
On 28 mar, 20:58, javatina wrote: > Thanks for responding. It's been very important - helps "gauge" > thinking, how far I am off :) > > 1. I haven't yet looked at middlewares - will do. > > 2. custom template tags - I do not see how they can help here You were talking about

Re: Just started Django - please help clarify web site configuration strategy

2011-03-29 Thread bruno desthuilliers
On 29 mar, 00:37, Jumpfroggy wrote: (snip) > There is no callback mechanism.  You can add code to any file > (models.py is a good place), and you can do some tricky python-fu to > make sure it only runs once per process, but that's a bit of a hack. Indeed - and more

<    6   7   8   9   10   11   12   13   14   15   >