Ok, that is not easy to debug with so little information. Is the IndexError in views.py? Maybe there is a mistake in urls.py, caused by adding the url for the generate_pdf view?
- Paulo On Tue, Mar 30, 2010 at 7:57 PM, Sven Richter <sver...@googlemail.com>wrote: > On Tue, Mar 30, 2010 at 8:21 PM, palmeida <igcbioinformat...@gmail.com> > wrote: > > Is that all your code? I don't see a line like this (from my > > generate_pdf function): > > > > doc = SimpleDocTemplate(response, pagesize=A4) > I missed that one out of my example. You're right. > > But it doesnt generate a pdf like that, it just complains about that > IndexError. > > > Greetings > Sven > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.