Is that all your code? I don't see a line like this (from my
generate_pdf function):
doc = SimpleDocTemplate(response, pagesize=A4)
That's what links the 'response' variable to the output of the
doc.build function. But I don't think that should be what's causing
the IndexError, because you don't
Hi,
I'm running a test that fails when using Django's TestCase class, but
not when running TestCase from unittest. This is my test class:
class LoggedInUser(TestCase):
fixtures = ['myflow']
def setUp(self):
self.client = Client()
try:
User.objects.create_user(
2 matches
Mail list logo