summaryrefslogtreecommitdiff
path: root/tests/regressiontests/comment_tests/fixtures/comment_utils.xml
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2009-03-23 21:07:02 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2009-03-23 21:07:02 +0000
commitf0560dfdb2adaa44fc739941a2a784c558ae6427 (patch)
tree96eff6021071b4ad77b1081ba21f12f5d8e8353c /tests/regressiontests/comment_tests/fixtures/comment_utils.xml
parent44f3080226888eb709cc6e027321647964ebe64e (diff)
Fixed #9282: added a generic comment moderation toolkit. See the documentation for details.
This began life as (part of) James Bennett's comment-utils app, and was adapted to be part of Django by Thejaswi Puthraya and Jannis Leidel. Thanks, all! git-svn-id: http://code.djangoproject.com/svn/django/trunk@10122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/comment_tests/fixtures/comment_utils.xml')
-rw-r--r--tests/regressiontests/comment_tests/fixtures/comment_utils.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/regressiontests/comment_tests/fixtures/comment_utils.xml b/tests/regressiontests/comment_tests/fixtures/comment_utils.xml
new file mode 100644
index 0000000000..a39bbf63e1
--- /dev/null
+++ b/tests/regressiontests/comment_tests/fixtures/comment_utils.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<django-objects version="1.0">
+ <object pk="1" model="comment_tests.entry">
+ <field type="CharField" name="title">ABC</field>
+ <field type="TextField" name="body">This is the body</field>
+ <field type="DateField" name="pub_date">2008-01-01</field>
+ <field type="BooleanField" name="enable_comments">True</field>
+ </object>
+ <object pk="2" model="comment_tests.entry">
+ <field type="CharField" name="title">XYZ</field>
+ <field type="TextField" name="body">Text here</field>
+ <field type="DateField" name="pub_date">2008-01-02</field>
+ <field type="BooleanField" name="enable_comments">False</field>
+ </object>
+</django-objects>