aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/utils
diff options
context:
space:
mode:
authorTom Christie2014-11-13 22:16:53 +0000
committerTom Christie2014-11-13 22:16:53 +0000
commitcb672a0ecbc2b089370583884994dbd5f2b84acc (patch)
tree31794263d2c052923e3258bed86955bedd7f161b /rest_framework/utils
parent992330055eeb5d787ddd7d62dfc9121a2256fd9b (diff)
parent03310cc33ae800a36f17a421c8114e0e6616ccb6 (diff)
downloaddjango-rest-framework-cb672a0ecbc2b089370583884994dbd5f2b84acc.tar.bz2
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
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'
}
}