1
1

Running the latest version of OSQA in debug mode. When I attempt to debug templates using the Django Debug, the header states "Templates (11 rendered)", but the rest of the page is blank. Anyone seeing this behavior?

asked 25 Jul '10, 15:43

live2dream95's gravatar image

live2dream95
1622
accept rate: 0%

edited 02 Jan '11, 14:26

rickross's gravatar image

rickross ♦♦
12.5k2914972

I have the same problem too. It seems like this is a bug in Django Debug: https://github.com/robhudson/django-debug-toolbar/issues/issue/45 Unfortunately, the proposed simple fix is not very clear to apply.

(02 Jan '11, 14:22) mertnuhoglu

There is a simpler middleware class that lists the templates used in any page: http://djangosnippets.org/snippets/766/ It works well. But there is a small fix explained in the comments http://djangosnippets.org/comments/cr/15/766/#c1360

(02 Jan '11, 14:58) mertnuhoglu
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×298
×10

Asked: 25 Jul '10, 15:43

Seen: 344 times

Last updated: 02 Jan '11, 14:58

powered by OSQA