~ubuntuone-pqm-team/python-timeline-django/stable

Viewing all changes in revision 22.

  • Committer: James Westby
  • Date: 2014-04-29 19:44:46 UTC
  • mfrom: (21.1.1 no-query-fix)
  • Revision ID: james.westby@canonical.com-20140429194446-rkpp8bdhy1a4x6kq
Properly handle absence of query in filters

This fixes a TypeError that triggered because django-statsd db patches
caused a max recursion exception that propagated up until the filters,
rendering the query parameter of them as None. Because of this, while
the error was really passed through oops, the final error reported to
the user was related to python-timeline-django.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: