DatabaseError when running unit tests after upgrade to Django 1.3.1

2011-10-30 Thread Florian Hahn
Hi, upgrading to Django 1.3.1 somehow breaks my unit tests. I'm using django.contrib.gis.db.backends.spatialite as a database engine with two databases; DATABASES = { 'default': { 'ENGINE': 'django.contrib.gis.db.backends.spatialite', 'NAME': 'sqlite.db', 'USER': '',

Access queryset in get_context_data()?

2011-05-24 Thread Florian Hahn
Hi, is there a way to access queryset from get_context_data without executing the query twice in a class based view? cheers -- 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