The built in web server in Django has issues. If you write your code to work only with the built in server it may not work correctly when you need to go to production. Djangos web server does a lot of setup for you completely hidden from your eyes, and may not work without some fiddling when you go to mod_wsgi/apache. My rule of thumb is if you are writing code that will eventually see the light of day in a production environment then setup the WSGI stuff first and develop in a real mod_wsgi/apache environment so there will not be any surprises when you go live.
~Carl On Fri, Aug 6, 2010 at 8:17 AM, jujule <[email protected]> wrote: > Hi > > For developing with django you should use the builtin dev server which > auto reload source code. > > python manage.py runserver 0.0.0.0:4242 > > > On 1 juil, 12:39, Marian Bucur <[email protected]> wrote: >> Hey Rob, >> >> No, I haven`t tried that script yet, but if you say it`s fast, then >> I`m gonna try it. >> >> Thank you guys for the suggestions >> >> On Jun 29, 11:13 pm, Rob Yates <[email protected]> wrote: >> >> >> >> > On 6/29/10 4:08 PM, Marian Bucur wrote:> I am on Windows... >> >> > > One way or another, it`s still an Apache restart and still time >> > > consuming... >> > > Too bad there`s no fast way :( >> >> > Marian, >> > Have you tried the monitor script as Graham suggested? I use it for >> > development and I'm quite happy with it. I don't even have to touch the >> > .wsgi file anymore - the process restart is automatic and fast. >> >> > -Rob > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- ------------------------------------------------------------------------------- Carl J. Nobile (Software Engineer) [email protected] ------------------------------------------------------------------------------- -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
