[Bug 1081388] Re: [SRU] Backport prefetch_related from 1.4
Launchpad Bug Tracker
1081388 at bugs.launchpad.net
Tue Dec 4 05:37:10 UTC 2012
This bug was fixed in the package python-django - 1.3.1-4ubuntu1.5
---------------
python-django (1.3.1-4ubuntu1.5) precise-proposed; urgency=low
[ Julian Edwards ]
* debian/patches:
- genericipaddressfield.diff: Backport GenericIPAddressField
from 1.4 (LP: #1081391)
- prefetch_related.diff: Backport prefetch_related from 1.4 (LP: #1081388)
- bug15496-base64-multipart-fix.diff: Include fix for upstream bug #15496
which makes 'Content-Transfer-Encoding: base64: work for multipart
messages. (LP: #1081392)
-- Andres Rodriguez <andreserl at ubuntu.com> Tue, 20 Nov 2012 16:00:41 -0500
** Changed in: python-django (Ubuntu Precise)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-django in Ubuntu.
https://bugs.launchpad.net/bugs/1081388
Title:
[SRU] Backport prefetch_related from 1.4
Status in “python-django” package in Ubuntu:
Fix Released
Status in “python-django” source package in Precise:
Fix Released
Bug description:
The prefetch_related functionality from 1.4 is required in 1.3 as a
pre-requisite to a maas backport. This functionality speeds up
database queries by pre-caching results.
[Impact]
This is functionality required as part of the MAAS Next Steps blueprint [1], in order to be able to SRU various new fixes to MAAS in precise. This functionality allows faster database queries by pre-caching results, as stated in the description above.
[Test Case]
This has been tested against MAAS. To test this we simply need to branch the MAAS branch which is being prepared for the SRU, and make sure all tests pass. Tests will fail when this SRU has not being installed. Test will pass when this feature is backported.
1. bzr branch lp:~maas-maintainers/maas/1.2 maas-sru
2. cd maas-sru
3. make test
[Regression Potential]
Minimal. This is functionality that produces minimal impact to django. On the other hand, the maas-maintainers team has committed to address any related issues and maintain it from this point forward.
[1]: https://blueprints.launchpad.net/ubuntu/+spec/servercloud-r-maas-
next-steps
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-django/+bug/1081388/+subscriptions
More information about the foundations-bugs
mailing list