summaryrefslogtreecommitdiff
path: root/tests/regressiontests/comment_tests/fixtures/comment_tests.json
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2008-08-25 22:14:22 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2008-08-25 22:14:22 +0000
commitcba91997a24f3cb154c7c51029c6dd91471f8800 (patch)
tree54481fbef77e08851f83a047cae2b9273feb4c19 /tests/regressiontests/comment_tests/fixtures/comment_tests.json
parentb46e736c9ae2d16e4743e783d03954b1424bbf2b (diff)
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
Diffstat (limited to 'tests/regressiontests/comment_tests/fixtures/comment_tests.json')
-rw-r--r--tests/regressiontests/comment_tests/fixtures/comment_tests.json43
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/regressiontests/comment_tests/fixtures/comment_tests.json b/tests/regressiontests/comment_tests/fixtures/comment_tests.json
new file mode 100644
index 0000000000..b10326930e
--- /dev/null
+++ b/tests/regressiontests/comment_tests/fixtures/comment_tests.json
@@ -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"
+ }
+ }
+]