mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Refactored Django's comment system.
Much of this work was done by Thejaswi Puthraya as part of Google's Summer of Code project; much thanks to him for the work, and to them for the program. This is a backwards-incompatible change; see the upgrading guide in docs/ref/contrib/comments/upgrade.txt for instructions if you were using the old comments system. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
[
|
||||
{
|
||||
"model" : "comment_tests.author",
|
||||
"pk" : 1,
|
||||
"fields" : {
|
||||
"first_name" : "John",
|
||||
"last_name" : "Smith"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model" : "comment_tests.author",
|
||||
"pk" : 2,
|
||||
"fields" : {
|
||||
"first_name" : "Peter",
|
||||
"last_name" : "Jones"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model" : "comment_tests.article",
|
||||
"pk" : 1,
|
||||
"fields" : {
|
||||
"author" : 1,
|
||||
"headline" : "Man Bites Dog"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model" : "comment_tests.article",
|
||||
"pk" : 2,
|
||||
"fields" : {
|
||||
"author" : 2,
|
||||
"headline" : "Dog Bites Man"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"model" : "auth.user",
|
||||
"pk" : 100,
|
||||
"fields" : {
|
||||
"username" : "normaluser",
|
||||
"password" : "34ea4aaaf24efcbb4b30d27302f8657f"
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user