Merge lp:~rvb/maas/getlist-1.3-compat into lp:maas/1.2
Proposed by
Raphaël Badin
Status: | Merged |
---|---|
Approved by: | Raphaël Badin |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1305 |
Proposed branch: | lp:~rvb/maas/getlist-1.3-compat |
Merge into: | lp:maas/1.2 |
Diff against target: |
24 lines (+1/-2) 2 files modified
src/maasserver/api.py (+1/-1) src/maasserver/tests/test_preseed.py (+0/-1) |
To merge this branch: | bzr merge lp:~rvb/maas/getlist-1.3-compat |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Review via email: mp+134891@code.launchpad.net |
Commit message
Fix call to request.
Description of the change
This fixes a compatibility with Django 1.3 (found while running the test suite of of the 1.2 branch on a precise box):
The 1.3 version of the method 'getlist' does not support the 'default' parameter.
Turns out we already implemented a utility method to work around that limitation ('get_optional_
To post a comment you must log in.