aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/utils
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/utils')
-rw-r--r--rest_framework/utils/html.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/utils/html.py b/rest_framework/utils/html.py
index 15e83b3b..d773952d 100644
--- a/rest_framework/utils/html.py
+++ b/rest_framework/utils/html.py
@@ -36,7 +36,7 @@ def parse_html_list(dictionary, prefix=''):
'[0]foo': 'abc',
'[0]bar': 'def',
'[1]foo': 'hij',
- '[2]bar': 'klm',
+ '[1]bar': 'klm',
}
-->
[
@@ -72,7 +72,7 @@ def parse_html_dict(dictionary, prefix):
-->
{
'profile': {
- 'username': 'example,
+ 'username': 'example',
'email': 'example@example.com'
}
}