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:
@@ -1,4 +1,11 @@
|
||||
[
|
||||
{
|
||||
"model" : "comment_tests.book",
|
||||
"pk" : 1,
|
||||
"fields" : {
|
||||
"dewey_decimal" : "12.34"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model" : "comment_tests.author",
|
||||
"pk" : 1,
|
||||
|
||||
Reference in New Issue
Block a user