src/maasserver/api.py calls request.data.getlist with a 'default' parameter. That parameter is not supported by Django 1.3.

Bug #1080673 reported by Raphaël Badin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
1.2
Fix Released
Critical
Raphaël Badin

Bug Description

get_list_from_dict_or_multidict uses the Django 1.4 only version of request.data.getlist.

The 1.3 version of the method 'getlist' does not support the 'default' parameter:

https://docs.djangoproject.com/en/1.3/ref/request-response/#django.http.QueryDict.getlist
https://docs.djangoproject.com/en/1.4/ref/request-response/#django.http.QueryDict.getlist

Related branches

Raphaël Badin (rvb)
no longer affects: maas
Raphaël Badin (rvb)
summary: - src/maasserver/api.py calls request.get with a 'default' parameter.
- That parameter is not supported by Django 1.3.
+ src/maasserver/api.py calls request.data.getlist with a 'default'
+ parameter. That parameter is not supported by Django 1.3.
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.