Navigation Menu

Skip to content
This repository has been archived by the owner on Apr 10, 2019. It is now read-only.

Commit

Permalink
Add a dummy fixture for the Ignite Challenge.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhwthompson committed Nov 1, 2011
1 parent eaaaaa0 commit 748a71c
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
60 changes: 60 additions & 0 deletions fixtures/ignite.json
@@ -0,0 +1,60 @@
[
{
"pk": 1,
"model": "projects.project",
"fields": {
"parent_project_id": null,
"description": "Something something gigabit internet",
"allow_participation": true,
"image": "",
"sub_project_label": "",
"topics": [],
"slug": "us-ignite",
"featured": false,
"team_members": [],
"followers": [],
"featured_image": "",
"allow_sub_projects": false,
"long_description": "Something something gigabit internet.",
"name": "US Ignite"
}
},
{
"pk": 3,
"model": "challenges.challenge",
"fields": {
"slug": "ignite-challenge",
"description": "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean sit amet arcu orci. Maecenas scelerisque consequat vehicula. Sed fringilla feugiat nulla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas eros risus, dictum quis dapibus nec, ullamcorper in orci.</p>\r\n\r\n<p>Donec varius, elit eu congue adipiscing, nibh enim viverra urna, euismod rhoncus ante augue sit amet est. Proin convallis facilisis sem, nec auctor elit ultricies eu.</p>",
"end_date": "2012-12-31 23:59:59",
"title": "Ignite Challenge",
"image": "",
"summary": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
"project": 1,
"allow_voting": false,
"moderate": false,
"start_date": "2011-11-01 07:59:15"
}
},
{
"pk": 2,
"model": "challenges.phase",
"fields": {
"challenge": [
"ignite-challenge"
],
"name": "Ideation",
"order": 1
}
},
{
"pk": 3,
"model": "challenges.phase",
"fields": {
"challenge": [
"ignite-challenge"
],
"name": "Development",
"order": 2
}
}
]
2 changes: 2 additions & 0 deletions settings_ignite.py
Expand Up @@ -6,6 +6,8 @@
IGNITE_PROJECT_SLUG = 'us-ignite'
IGNITE_CHALLENGE_SLUG = 'ignite-challenge'

FIXTURE_DIRS = (path('fixtures'),)

TEMPLATE_DIRS = (path('templates_ignite'),) + TEMPLATE_DIRS

EXCLUDED_MIDDLEWARE = ('commons.middleware.LocaleURLMiddleware',)
Expand Down

0 comments on commit 748a71c

Please sign in to comment.