On Tue, Jun 3, 2008 at 2:00 PM,  <[EMAIL PROTECTED]> wrote:
>
> im running part 2 of the tutorial right now and im inside the admin.
> when connecting to localhost it is soooo slow, why?


Well, the tutorial does say:

"You've started the Django development server, a lightweight Web
server written purely in Python. We've included this with Django so
you can develop things rapidly, without having to deal with
configuring a production server — such as Apache — until you're ready
for production.
Now's a good time to note: DON'T use this server in anything
resembling a production environment. It's intended only for use while
developing. (We're in the business of making Web frameworks, not Web
servers.)"

So the development server is a pure python implementation that has
been written with simplicity in mind rather than performance.  In
addition to this, it reloads your code with every request so any
changes you make are immediately reflected.  So yes, it's going to be
slow... You don't really quantify how slow it is or if it's unusable
for you.

If you're looking for a faster local deployment, your best bet is
probably to setup apache, but you'll need to restart that every time
you want changed code to take effect.

Colin

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to