lp:python-timeline-django
- Get this branch:
- bzr branch lp:python-timeline-django
Branch merges
Branch information
Recent revisions
- 30. By Ricardo Kirkner
-
[r=fgallina] added support for django 1.9+
- 27. By Ricardo Kirkner
-
[r=matt-goodall] do not rely on timeline event being a tuple when filtering query
event can be tuple or list, just make sure to cast it to tuple before appending extra bits to filtered event data
- 23. By James Westby
-
Be more careful about leaking objects.
1. Register signals with a dispatch_uid so that if register is called
twice there aren't double receivers. There is a very slim chance that
someone could two want two sets of receivers with timeline_factories
that get different timelines. In that case this should be rewritten
to not use dispatch_uid and offer a disconnect method that can be
used in tests etc.2. Re-set the environ stored in the thread local after the wsgi response
is delivered. In a case where some requests go through wsgi and some
don't (e.g. tests) the environ would leak in to those that don't use
wsgi. This could lead to an ever-growing timeline. - 22. By James Westby
-
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. - 21. By James Westby
-
Make the hooks more robust.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)