[Bug 1081388] Re: [SRU] Backport prefetch_related from 1.4
Julian Edwards
1081388 at bugs.launchpad.net
Tue Dec 11 05:28:48 UTC 2012
** Changed in: python-django (Ubuntu Precise)
Status: Invalid => New
--
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:
New
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