orf/django-debug-toolbar-template-timings — pull request #14 by fizista (2013-09-23 11:24:29+00:00)
Title: self.name is None

In line 66 "TemplateTimings.py" [name_self = name (self)] when self.name = None, we get the following error:

```
File "/home/wojciech/AptanaWorkspace/django-debug-toolbar-template-timings/template_timings_panel/panels/TemplateTimings.py", line 72, in timing_hook
if name_self not in results.timings[key] and should_add(name_self):
File "/home/wojciech/AptanaWorkspace/django-debug-toolbar-template-timings/template_timings_panel/panels/TemplateTimings.py", line 122, in
for pattern in TEMPLATE_TIMINGS_SETTINGS["IGNORED_TEMPLATES"]]))
File "/home/wojciech/.pyenv/versions/2.7.5/lib/python2.7/re.py", line 137, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or buffer
```

This patch fixes this problem.