And here is the Postgresql log file for the same "polls" screens.
Same select as in debug_toolbar
It seems, such thing like a connection pool does not exists by default
(every time connection is initialized)
Is it just a setting in Django or in the psycopg2 ?
*
> Caching isn't the issue here, it's a matter of writing the queries
> properly. Yes, select_related will help.
Well, I tried select_related but without success.
It would be good to see an example...
--
You received this message because you are subscribed to the Google Groups
"Django users" grou
On Dec 1, 1:57 pm, stargazer wrote:
> Hi all,
>
> I'm trying the famous Django
> tutorial:http://docs.djangoproject.com/en/1.1/intro/
>
> Playing with "polls" and "choices" I see lot of SQL queries this
> application creates. Actually, I just selected a list of polls
> than selected the poll with
3 matches
Mail list logo