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 on 2012-11-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
1.2
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) on 2012-11-19
no longer affects: maas
Raphaël Badin (rvb) on 2012-11-19
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  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints