--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a97cacc1-c8c8-4075-a853-5f5d1bb156d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Krishna,
How long is "a long time"? I have a project of ~200K lines of
python/django code. The dev server reloads in a second or so.
Bristle Software, Inc -- http://bristle.com -- Glad to be of service!
Open Source: Without walls and fences, we need no Windows or Gates.
This is a punch in the dark. It takes about 3 - 5 seconds on my my windows machine when I run the dev server using pycharm's inbuilt terminal and my code is way below 5k lines
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d1e25f49-5672-4dd0-bdf1-cf8ffd012e4b%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BWjgXPbO5duGSC8NgGLqNzAwVNGNKkp%2BkE437Lv7%3D%2BVSmBhyA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJ9t6qMv1FE03zRRNJRoaiH5AhuVWK0T_m_yjCP5L9LcFnXTqQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJ9t6qMv1FE03zRRNJRoaiH5AhuVWK0T_m_yjCP5L9LcFnXTqQ%40mail.gmail.com.
Validating models...
0 errors found
Django version 1.4.2, using settings 'hhl.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d1e25f49-5672-4dd0-bdf1-cf8ffd012e4b%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ddd3443d-aefd-7f9a-2596-e4fac711d1f3%40bristle.com.
Krishna,
--Fred
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/76307cac-dab1-4846-b992-8529005fa7e9%40googlegroups.com.
Krishna,
Only a third of your count -- 551
% tcsh
% python -v manage.py runserver >&! ~/1.1
% grep -E "^import" ~/1.1 | wc -l
551
So, you didn't see any noticeable pauses as the -v output was
streaming to the terminal window? Sounds like it's just doing a
lot of work, not stalling out anywhere in particular.
Why so many imports? Seems odd that I have more models,
but fewer lines of code, and far fewer imports. Are all of your
imports still needed? Or are many of them obsolete and could
be deleted? We tend to get rid of our dead ones pretty quickly
because PyCharm shows them as grey when they're not needed.
--Fred