1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Changed the comments post view code to avoid raising an exception if handed invalid data for the object pk. Thanks to Leo for the test.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Karen Tracey
2010-03-16 22:37:45 +00:00
parent f482984af1
commit e434573ef1
4 changed files with 41 additions and 9 deletions

View File

@@ -1,4 +1,11 @@
[
{
"model" : "comment_tests.book",
"pk" : 1,
"fields" : {
"dewey_decimal" : "12.34"
}
},
{
"model" : "comment_tests.author",
"pk" : 1,