select_related to the rescue, such performance!

This commit is contained in:
nikolark committed 2016-01-07 23:39:11 +01:00
1 parent 2a0744f602
commit 898578852d
4 files changed
+15 -16

No files matched your search

+4 -3
View File
@@ -1,5 +1,6 @@
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mdb.settings")
from django.core.wsgi import get_wsgi_application
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mdbsite.settings")
application = get_wsgi_application()