summaryrefslogtreecommitdiff
path: root/tests/contenttypes_tests/fixtures
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-03-14 20:28:24 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-03-14 20:30:23 +0100
commit3f2befc93163e0666dcc4f745288b98306de4b8e (patch)
treeecca16348da0fab7c87bba937090aef498c9ff2f /tests/contenttypes_tests/fixtures
parent2f121dfe635b3f497fe1fe03bc8eb97cdf5083b3 (diff)
Deprecated django.views.defaults.shortcut.
Diffstat (limited to 'tests/contenttypes_tests/fixtures')
-rw-r--r--tests/contenttypes_tests/fixtures/testdata.json47
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/contenttypes_tests/fixtures/testdata.json b/tests/contenttypes_tests/fixtures/testdata.json
new file mode 100644
index 0000000000..52510bfe90
--- /dev/null
+++ b/tests/contenttypes_tests/fixtures/testdata.json
@@ -0,0 +1,47 @@
+[
+ {
+ "pk": 1,
+ "model": "contenttypes_tests.author",
+ "fields": {
+ "name": "Boris"
+ }
+ },
+ {
+ "pk": 1,
+ "model": "contenttypes_tests.article",
+ "fields": {
+ "author": 1,
+ "title": "Old Article",
+ "slug": "old_article",
+ "date_created": "2001-01-01 21:22:23"
+ }
+ },
+ {
+ "pk": 2,
+ "model": "contenttypes_tests.article",
+ "fields": {
+ "author": 1,
+ "title": "Current Article",
+ "slug": "current_article",
+ "date_created": "2007-09-17 21:22:23"
+ }
+ },
+ {
+ "pk": 3,
+ "model": "contenttypes_tests.article",
+ "fields": {
+ "author": 1,
+ "title": "Future Article",
+ "slug": "future_article",
+ "date_created": "3000-01-01 21:22:23"
+ }
+ },
+ {
+ "pk": 1,
+ "model": "sites.site",
+ "fields": {
+ "domain": "testserver",
+ "name": "testserver"
+ }
+ }
+]