Hi all,
what's the magic here?
I am using django 1.3 with sqlite or postgres by invoking:
runserver 10.150.2.15:8080 --noreload
I have a view (no cache decorator) doing simple querys on the orm and return
that as html - nothing fancy
The view is executed on each request, but the database is hit only on the first
request
After that devserver shows only one query each request querying for
django_session
newly data is not fetched...
any idea?
my middleware looks like this:
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'schiwago.middleware.header.ResponseInjectHeader',
'schiwago.middleware.auth.BasicAuthMiddleware',
'django.middleware.transaction.TransactionMiddleware',
)
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'schiwago',
'transdb',
'south',
'mediafactory.ui',
'relatorio',
'djcelery',
'devserver'
)
regards
Henrik
Henrik Genssen
[email protected]
Tel. +49 (0)451/6195650
Fax. +49 (0)451/6195655
http://www.miadi.net
http://www.facebook.com/pages/Miadi/150192061701844
miadi GmbH
Geschäftsführer: Henrik Genssen
Sitz der Gesellschaft: Hüxstraße 1 - 9, 23552 Lübeck
Amtsgericht Lübeck HRB 10223, USt-IdNr DE
Lieferungen und Leistungen erfolgen ausschließlich auf Grundlage unserer
allgemeinen Geschäftsbedingungen
--
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users?hl=en.