diff options
author | Tom Willemsen | 2012-03-22 00:04:01 +0100 |
---|---|---|
committer | Tom Willemsen | 2012-03-22 00:04:01 +0100 |
commit | 921d06a8e01e2613abdd07ce4d1a88d4957fe0d1 (patch) | |
tree | 4835765df13245d6778c1560d86a59ec2140aea8 /aggregator/fixtures | |
parent | f30c00af6db5e5a4eab516058829d46c2d379000 (diff) | |
download | ryuslash.org-921d06a8e01e2613abdd07ce4d1a88d4957fe0d1.tar.gz ryuslash.org-921d06a8e01e2613abdd07ce4d1a88d4957fe0d1.zip |
Add Category model
Each feed can belong to multiple categories. A category is only a slug.
Diffstat (limited to 'aggregator/fixtures')
-rw-r--r-- | aggregator/fixtures/initial_data.json | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/aggregator/fixtures/initial_data.json b/aggregator/fixtures/initial_data.json index 5926e9c..e91883d 100644 --- a/aggregator/fixtures/initial_data.json +++ b/aggregator/fixtures/initial_data.json @@ -1,5 +1,19 @@ [ { + "model": "aggregator.Category", + "pk": 1, + "fields": { + "name": "misc" + } + }, + { + "model": "aggregator.Category", + "pk": 2, + "fields": { + "name": "code" + } + }, + { "model": "aggregator.Feed", "pk": 1, "fields": { @@ -7,7 +21,8 @@ "base_url": "http://www.advogato.org/", "feed_url": "person/ryuslash/rss.xml", "profile_url": "person/ryuslash", - "favicon_ext": "ico" + "favicon_ext": "ico", + "categories": [ 1 ] } }, { @@ -19,7 +34,8 @@ "feed_url": "public/ryuslash.atom", "profile_url": "public/ryuslash", "br2nl": true, - "with_markdown": true + "with_markdown": true, + "categories": [ 1 ] } }, { @@ -30,7 +46,8 @@ "base_url": "http://identi.ca/", "feed_url": "api/statuses/user_timeline/107950.rss", "profile_url": "ryuslash", - "favicon_ext": "ico" + "favicon_ext": "ico", + "categories": [ 1 ] } }, { @@ -40,7 +57,8 @@ "name": "Github", "base_url": "https://github.com/", "feed_url": "ryuslash.atom", - "profile_url": "ryuslash" + "profile_url": "ryuslash", + "categories": [ 2 ] } }, { @@ -50,7 +68,8 @@ "name": "Gitorious", "base_url": "https://gitorious.org/", "feed_url": "~ryuslash/feed.atom", - "profile_url": "~ryuslash" + "profile_url": "~ryuslash", + "categories": [ 2 ] } }, { @@ -60,7 +79,8 @@ "name": "Ikiwiki", "base_url": "http://ryuslash.org/wiki/", "feed_url": "index.rss", - "uses_title": true + "uses_title": true, + "categories": [ 1 ] } }, { @@ -72,7 +92,8 @@ "feed_url": "user/ryuslash/.rss", "profile_url": "usr/ryuslash/", "uses_title": true, - "favicon_ext": "ico" + "favicon_ext": "ico", + "categories": [ 1 ] } } ] |