Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
memopol
Commits
885ac063
Commit
885ac063
authored
Aug 20, 2016
by
Nicolas Joyard
Browse files
New test data sample from prod data
parent
87966c26
Changes
37
Show whitespace changes
Inline
Side-by-side
bin/quickstart.sh
View file @
885ac063
...
...
@@ -39,7 +39,7 @@ export DJANGO_SETTINGS_MODULE=memopol.settings
./manage.py migrate
# Import sample data
./manage.py loaddata memopol/fixtures/
smaller
_sample.json
./manage.py loaddata memopol/fixtures/
data
_sample.json
echo
echo
"You're all set!"
...
...
memopol/fixtures/data_sample.json
0 → 100644
View file @
885ac063
This source diff could not be displayed because it is too large. You can
view the blob
instead.
memopol/fixtures/one_representative.json
deleted
100644 → 0
View file @
87966c26
[
{
"fields"
:
{
"code"
:
"GB"
,
"name"
:
"United Kingdom"
},
"model"
:
"representatives.country"
,
"pk"
:
1218
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:05:08.207Z"
,
"last_name"
:
"HONEYBALL"
,
"photo"
:
"http://www.europarl.europa.eu/mepphoto/5846.jpg"
,
"created"
:
"2015-12-27T16:05:08.207Z"
,
"gender"
:
1
,
"first_name"
:
"Mary"
,
"cv"
:
""
,
"active"
:
true
,
"birth_place"
:
"Weymouth"
,
"full_name"
:
"Mary HONEYBALL"
,
"birth_date"
:
"1952-11-12"
,
"slug"
:
"mary-honeyball-1952-11-12"
},
"model"
:
"representatives.representative"
,
"pk"
:
160
},
{
"fields"
:
{
"email"
:
"mary.honeyball@europarl.europa.eu"
,
"updated"
:
"2015-12-27T16:05:08.423Z"
,
"representative"
:
160
,
"kind"
:
"official"
,
"created"
:
"2015-12-27T16:05:08.423Z"
},
"model"
:
"representatives.email"
,
"pk"
:
160
},
{
"fields"
:
{
"url"
:
"http://www.europarl.europa.eu/meps/en/5846/_home.html"
,
"updated"
:
"2015-12-13T02:07:24.408"
,
"representative"
:
160
,
"kind"
:
"EP"
,
"created"
:
"2015-12-13T02:07:24.408"
},
"model"
:
"representatives.website"
,
"pk"
:
295
},
{
"fields"
:
{
"url"
:
"http://twitter.com/maryhoneyball"
,
"updated"
:
"2015-12-27T16:05:08.425Z"
,
"representative"
:
160
,
"kind"
:
"twitter"
,
"created"
:
"2015-12-27T16:05:08.425Z"
},
"model"
:
"representatives.website"
,
"pk"
:
296
},
{
"fields"
:
{
"url"
:
"https://www.facebook.com/mhoneyball"
,
"updated"
:
"2015-12-27T16:05:08.427Z"
,
"representative"
:
160
,
"kind"
:
"facebook"
,
"created"
:
"2015-12-27T16:05:08.427Z"
},
"model"
:
"representatives.website"
,
"pk"
:
297
},
{
"fields"
:
{
"country"
:
null
,
"name"
:
"European Parliament"
,
"abbreviation"
:
"EP"
},
"model"
:
"representatives.chamber"
,
"pk"
:
1
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:31.046Z"
,
"name"
:
"European Parliament"
,
"created"
:
"2015-12-27T16:03:31.046Z"
,
"kind"
:
"chamber"
,
"abbreviation"
:
"EP"
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
1
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:31.046Z"
,
"name"
:
"Committee on Employment and Social Affairs"
,
"created"
:
"2015-12-27T16:03:31.046Z"
,
"kind"
:
"committee"
,
"abbreviation"
:
"EMPL"
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
3
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:31.100Z"
,
"name"
:
"Committee on Legal Affairs"
,
"created"
:
"2015-12-27T16:03:31.100Z"
,
"kind"
:
"committee"
,
"abbreviation"
:
"JURI"
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
9
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:31.388Z"
,
"name"
:
"Committee on Culture and Education"
,
"created"
:
"2015-12-27T16:03:31.388Z"
,
"kind"
:
"committee"
,
"abbreviation"
:
"CULT"
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
20
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:31.402Z"
,
"name"
:
"Group of the Progressive Alliance of Socialists and Democrats in the European Parliament"
,
"created"
:
"2015-12-27T16:03:31.402Z"
,
"kind"
:
"group"
,
"abbreviation"
:
"SD"
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
21
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:31.510Z"
,
"name"
:
"Committee on Industry, Research and Energy"
,
"created"
:
"2015-12-27T16:03:31.510Z"
,
"kind"
:
"committee"
,
"abbreviation"
:
"ITRE"
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
23
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:31.521Z"
,
"name"
:
"Committee on Regional Development"
,
"created"
:
"2015-12-27T16:03:31.521Z"
,
"kind"
:
"committee"
,
"abbreviation"
:
"REGI"
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
24
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:31.768Z"
,
"name"
:
"Committee on Economic and Monetary Affairs"
,
"created"
:
"2015-12-27T16:03:31.768Z"
,
"kind"
:
"committee"
,
"abbreviation"
:
"ECON"
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
30
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:31.794Z"
,
"name"
:
"United Kingdom"
,
"created"
:
"2015-12-27T16:03:31.794Z"
,
"kind"
:
"country"
,
"abbreviation"
:
"GB"
},
"model"
:
"representatives.group"
,
"pk"
:
33
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:32.489Z"
,
"name"
:
"Socialist Group in the European Parliament"
,
"created"
:
"2015-12-27T16:03:32.489Z"
,
"kind"
:
"group"
,
"abbreviation"
:
"PSE"
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
41
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:33.606Z"
,
"name"
:
"Committee on the Environment, Public Health and Food Safety"
,
"created"
:
"2015-12-27T16:03:33.606Z"
,
"kind"
:
"committee"
,
"abbreviation"
:
"ENVI"
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
48
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:34.712Z"
,
"name"
:
"Delegation for relations with South Africa"
,
"created"
:
"2015-12-27T16:03:34.712Z"
,
"kind"
:
"delegation"
,
"abbreviation"
:
""
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
64
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:34.756Z"
,
"name"
:
"Group of the Party of European Socialists"
,
"created"
:
"2015-12-27T16:03:34.756Z"
,
"kind"
:
"group"
,
"abbreviation"
:
"PSE"
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
67
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:36.124Z"
,
"name"
:
"Committee on Women's Rights and Gender Equality"
,
"created"
:
"2015-12-27T16:03:36.124Z"
,
"kind"
:
"committee"
,
"abbreviation"
:
"FEMM"
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
77
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:36.219Z"
,
"name"
:
"Delegation to the EU-Turkey Joint Parliamentary Committee"
,
"created"
:
"2015-12-27T16:03:36.219Z"
,
"kind"
:
"delegation"
,
"abbreviation"
:
""
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
79
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:37.137Z"
,
"name"
:
"Delegation for relations with Canada"
,
"created"
:
"2015-12-27T16:03:37.137Z"
,
"kind"
:
"delegation"
,
"abbreviation"
:
""
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
86
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:40.000Z"
,
"name"
:
"Delegation to the Parliamentary Assembly of the Union for the Mediterranean"
,
"created"
:
"2015-12-27T16:03:40.000Z"
,
"kind"
:
"delegation"
,
"abbreviation"
:
""
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
97
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:42.041Z"
,
"name"
:
"Delegation to the Euro-Mediterranean Parliamentary Assembly"
,
"created"
:
"2015-12-27T16:03:42.041Z"
,
"kind"
:
"delegation"
,
"abbreviation"
:
""
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
101
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:47.768Z"
,
"name"
:
"Delegation to the EU-Former Yugoslav Republic of Macedonia Joint Parliamentary Committee"
,
"created"
:
"2015-12-27T16:03:47.768Z"
,
"kind"
:
"delegation"
,
"abbreviation"
:
""
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
111
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:03:58.940Z"
,
"name"
:
"Delegation for relations with Palestine"
,
"created"
:
"2015-12-27T16:03:58.940Z"
,
"kind"
:
"delegation"
,
"abbreviation"
:
""
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
121
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:04:34.387Z"
,
"name"
:
"Delegation to the EU-Malta Joint Parliamentary Committee"
,
"created"
:
"2015-12-27T16:04:34.387Z"
,
"kind"
:
"delegation"
,
"abbreviation"
:
""
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
141
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:04:50.770Z"
,
"name"
:
"Delegation to the EU-Cyprus Joint Parliamentary Committee"
,
"created"
:
"2015-12-27T16:04:50.770Z"
,
"kind"
:
"delegation"
,
"abbreviation"
:
""
,
"chamber"
:
1
},
"model"
:
"representatives.group"
,
"pk"
:
150
},
{
"fields"
:
{
"country"
:
null
,
"updated"
:
"2015-12-27T16:03:05.604Z"
,
"name"
:
"European Parliament"
,
"created"
:
"2015-12-27T16:03:05.603Z"
},
"model"
:
"representatives.constituency"
,
"pk"
:
1
},
{
"fields"
:
{
"country"
:
1218
,
"updated"
:
"2015-12-27T16:11:32.621Z"
,
"name"
:
"Labour Party"
,
"created"
:
"2015-12-27T16:03:38.998Z"
},
"model"
:
"representatives.constituency"
,
"pk"
:
21
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:05:08.213Z"
,
"group"
:
77
,
"end_date"
:
"9999-12-31"
,
"created"
:
"2015-12-27T16:05:08.213Z"
,
"role"
:
"Member"
,
"representative"
:
160
,
"link"
:
""
,
"begin_date"
:
"2014-07-01"
,
"constituency"
:
1
},
"model"
:
"representatives.mandate"
,
"pk"
:
3287
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:05:08.218Z"
,
"group"
:
9
,
"end_date"
:
"9999-12-31"
,
"created"
:
"2015-12-27T16:05:08.218Z"
,
"role"
:
"Member"
,
"representative"
:
160
,
"link"
:
""
,
"begin_date"
:
"2014-07-01"
,
"constituency"
:
1
},
"model"
:
"representatives.mandate"
,
"pk"
:
3288
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:05:08.223Z"
,
"group"
:
20
,
"end_date"
:
"9999-12-31"
,
"created"
:
"2015-12-27T16:05:08.223Z"
,
"role"
:
"Substitute"
,
"representative"
:
160
,
"link"
:
""
,
"begin_date"
:
"2014-07-08"
,
"constituency"
:
1
},
"model"
:
"representatives.mandate"
,
"pk"
:
3289
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:05:08.229Z"
,
"group"
:
77
,
"end_date"
:
"2014-06-30"
,
"created"
:
"2015-12-27T16:05:08.228Z"
,
"role"
:
"Member"
,
"representative"
:
160
,
"link"
:
""
,
"begin_date"
:
"2012-01-19"
,
"constituency"
:
1
},
"model"
:
"representatives.mandate"
,
"pk"
:
3290
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:05:08.233Z"
,
"group"
:
20
,
"end_date"
:
"2014-06-30"
,
"created"
:
"2015-12-27T16:05:08.233Z"
,
"role"
:
"Member"
,
"representative"
:
160
,
"link"
:
""
,
"begin_date"
:
"2012-01-19"
,
"constituency"
:
1
},
"model"
:
"representatives.mandate"
,
"pk"
:
3291
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:05:08.238Z"
,
"group"
:
9
,
"end_date"
:
"2014-06-30"
,
"created"
:
"2015-12-27T16:05:08.238Z"
,
"role"
:
"Substitute"
,
"representative"
:
160
,
"link"
:
""
,
"begin_date"
:
"2012-01-19"
,
"constituency"
:
1
},
"model"
:
"representatives.mandate"
,
"pk"
:
3292
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:05:08.244Z"
,
"group"
:
77
,
"end_date"
:
"2012-01-18"
,
"created"
:
"2015-12-27T16:05:08.244Z"
,
"role"
:
"Member"
,
"representative"
:
160
,
"link"
:
""
,
"begin_date"
:
"2009-07-16"
,
"constituency"
:
1
},
"model"
:
"representatives.mandate"
,
"pk"
:
3293
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:05:08.248Z"
,
"group"
:
20
,
"end_date"
:
"2012-01-18"
,
"created"
:
"2015-12-27T16:05:08.248Z"
,
"role"
:
"Member"
,
"representative"
:
160
,
"link"
:
""
,
"begin_date"
:
"2009-07-16"
,
"constituency"
:
1
},
"model"
:
"representatives.mandate"
,
"pk"
:
3294
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:05:08.253Z"
,
"group"
:
9
,
"end_date"
:
"2012-01-18"
,
"created"
:
"2015-12-27T16:05:08.253Z"
,
"role"
:
"Substitute"
,
"representative"
:
160
,
"link"
:
""
,
"begin_date"
:
"2010-09-20"
,
"constituency"
:
1
},
"model"
:
"representatives.mandate"
,
"pk"
:
3295
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:05:08.258Z"
,
"group"
:
24
,
"end_date"
:
"2010-09-19"
,
"created"
:
"2015-12-27T16:05:08.258Z"
,
"role"
:
"Substitute"
,
"representative"
:
160
,
"link"
:
""
,
"begin_date"
:
"2009-07-16"
,
"constituency"
:
1
},
"model"
:
"representatives.mandate"
,
"pk"
:
3296
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:05:08.263Z"
,
"group"
:
23
,
"end_date"
:
"2009-07-13"
,
"created"
:
"2015-12-27T16:05:08.263Z"
,
"role"
:
"Member"
,
"representative"
:
160
,
"link"
:
""
,
"begin_date"
:
"2007-01-31"
,
"constituency"
:
1
},
"model"
:
"representatives.mandate"
,
"pk"
:
3297
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:05:08.268Z"
,
"group"
:
20
,
"end_date"
:
"2009-07-13"
,
"created"
:
"2015-12-27T16:05:08.268Z"
,
"role"
:
"Substitute"
,
"representative"
:
160
,
"link"
:
""
,
"begin_date"
:
"2007-01-31"
,
"constituency"
:
1
},
"model"
:
"representatives.mandate"
,
"pk"
:
3298
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:05:08.274Z"
,
"group"
:
77
,
"end_date"
:
"2009-07-13"
,
"created"
:
"2015-12-27T16:05:08.274Z"
,
"role"
:
"Substitute"
,
"representative"
:
160
,
"link"
:
""
,
"begin_date"
:
"2007-01-31"
,
"constituency"
:
1
},
"model"
:
"representatives.mandate"
,
"pk"
:
3299
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:05:08.279Z"
,
"group"
:
48
,
"end_date"
:
"2007-01-30"
,
"created"
:
"2015-12-27T16:05:08.279Z"
,
"role"
:
"Member"
,
"representative"
:
160
,
"link"
:
""
,
"begin_date"
:
"2007-01-15"
,
"constituency"
:
1
},
"model"
:
"representatives.mandate"
,
"pk"
:
3300
},
{
"fields"
:
{
"updated"
:
"2015-12-27T16:05:08.284Z"
,
"group"
:
77
,
"end_date"
:
"2007-01-30"
,
"created"
:
"2015-12-27T16:05:08.283Z"
,
"role"
:
"Substitute"
,
"representative"
:
160
,
"link"
:
""
,
"begin_date"
:
"2007-01-15"
,
"constituency"
:
1
},
"model"
:
"representatives.mandate"
,
"pk"
:
3301
},