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
Anthony
memopol
Commits
323ad7da
Commit
323ad7da
authored
Jul 17, 2016
by
njoyard
Committed by
GitHub
Jul 17, 2016
Browse files
Merge pull request #105 from political-memory/update-deps-slugs-remoteid
Update dependencies
parents
33adf51b
3b6f0d7f
Changes
16
Show whitespace changes
Inline
Side-by-side
memopol/fixtures/one_representative.json
View file @
323ad7da
...
...
@@ -14,14 +14,13 @@
"photo"
:
"http://www.europarl.europa.eu/mepphoto/5846.jpg"
,
"created"
:
"2015-12-27T16:05:08.207Z"
,
"gender"
:
1
,
"remote_id"
:
"5846"
,
"first_name"
:
"Mary"
,
"cv"
:
""
,
"active"
:
true
,
"birth_place"
:
"Weymouth"
,
"full_name"
:
"Mary HONEYBALL"
,
"birth_date"
:
"1952-11-12"
,
"slug"
:
"mary-honeyball"
"slug"
:
"mary-honeyball
-1952-11-12
"
},
"model"
:
"representatives.representative"
,
"pk"
:
160
...
...
@@ -37,6 +36,17 @@
"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"
,
...
...
memopol/fixtures/smaller_sample.json
View file @
323ad7da
...
...
@@ -158,14 +158,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/5846.jpg",
"created": "2015-12-27T16:05:08.207Z",
"gender": 1,
"remote_id": "5846",
"first_name": "Mary",
"cv": "",
"active": true,
"birth_place": "Weymouth",
"full_name": "Mary HONEYBALL",
"birth_date": "1952-11-12",
"slug": "mary-honeyball"
"slug": "mary-honeyball
-1952-11-12
"
},
"model": "representatives.representative",
"pk": 160
...
...
@@ -177,14 +176,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/40599.jpg",
"created": "2015-12-27T16:06:26.230Z",
"gender": 1,
"remote_id": "40599",
"first_name": "Sirpa",
"cv": "",
"active": true,
"birth_place": "Parikkala",
"full_name": "Sirpa PIETIK\u00c4INEN",
"birth_date": "1959-04-19",
"slug": "sirpa-pietikainen"
"slug": "sirpa-pietikainen
-1959-04-19
"
},
"model": "representatives.representative",
"pk": 282
...
...
@@ -196,14 +194,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/1263.jpg",
"created": "2015-12-27T16:09:02.966Z",
"gender": 2,
"remote_id": "1263",
"first_name": "Elmar",
"cv": "",
"active": true,
"birth_place": "Verl (Kr. G\u00fctersloh)",
"full_name": "Elmar BROK",
"birth_date": "1946-05-14",
"slug": "elmar-brok"
"slug": "elmar-brok
-1946-05-14
"
},
"model": "representatives.representative",
"pk": 439
...
...
@@ -215,14 +212,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/96677.jpg",
"created": "2015-12-27T16:11:41.828Z",
"gender": 1,
"remote_id": "96677",
"first_name": "Cecilia",
"cv": "",
"active": true,
"birth_place": "Svanstein",
"full_name": "Cecilia WIKSTR\u00d6M",
"birth_date": "1965-10-17",
"slug": "cecilia-wikstrom"
"slug": "cecilia-wikstrom
-1965-10-17
"
},
"model": "representatives.representative",
"pk": 614
...
...
@@ -234,14 +230,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/38605.jpg",
"created": "2015-12-27T16:12:03.872Z",
"gender": 1,
"remote_id": "38605",
"first_name": "Iliana",
"cv": "",
"active": true,
"birth_place": "Sofia",
"full_name": "Iliana IOTOVA",
"birth_date": "1964-10-24",
"slug": "iliana-iotova"
"slug": "iliana-iotova
-1964-10-24
"
},
"model": "representatives.representative",
"pk": 642
...
...
@@ -253,14 +248,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/97968.jpg",
"created": "2015-12-27T16:12:05.242Z",
"gender": 2,
"remote_id": "97968",
"first_name": "Andrey",
"cv": "",
"active": true,
"birth_place": "Sofia",
"full_name": "Andrey KOVATCHEV",
"birth_date": "1967-12-13",
"slug": "andrey-kovatchev"
"slug": "andrey-kovatchev
-1967-12-13
"
},
"model": "representatives.representative",
"pk": 644
...
...
@@ -272,14 +266,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/96684.jpg",
"created": "2015-12-27T16:12:06.022Z",
"gender": 1,
"remote_id": "96684",
"first_name": "Liisa",
"cv": "",
"active": true,
"birth_place": "Oulu",
"full_name": "Liisa JAAKONSAARI",
"birth_date": "1945-09-02",
"slug": "liisa-jaakonsaari"
"slug": "liisa-jaakonsaari
-1945-09-02
"
},
"model": "representatives.representative",
"pk": 645
...
...
@@ -291,14 +284,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/96957.jpg",
"created": "2015-12-27T16:12:06.740Z",
"gender": 2,
"remote_id": "96957",
"first_name": "Ashley",
"cv": "",
"active": true,
"birth_place": "Sutton Coldfield",
"full_name": "Ashley FOX",
"birth_date": "1969-11-15",
"slug": "ashley-fox"
"slug": "ashley-fox
-1969-11-15
"
},
"model": "representatives.representative",
"pk": 646
...
...
@@ -310,14 +302,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/4253.jpg",
"created": "2015-12-27T16:12:07.545Z",
"gender": 1,
"remote_id": "4253",
"first_name": "Fr\u00e9d\u00e9rique",
"cv": "",
"active": true,
"birth_place": "Balen-Wezel",
"full_name": "Fr\u00e9d\u00e9rique RIES",
"birth_date": "1959-05-14",
"slug": "frederique-ries"
"slug": "frederique-ries
-1959-05-14
"
},
"model": "representatives.representative",
"pk": 647
...
...
@@ -329,14 +320,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/96740.jpg",
"created": "2015-12-27T16:12:10.310Z",
"gender": 2,
"remote_id": "96740",
"first_name": "Yannick",
"cv": "",
"active": true,
"birth_place": "Clacy et Thierret",
"full_name": "Yannick JADOT",
"birth_date": "1967-07-27",
"slug": "yannick-jadot"
"slug": "yannick-jadot
-1967-07-27
"
},
"model": "representatives.representative",
"pk": 650
...
...
@@ -348,14 +338,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/96932.jpg",
"created": "2015-12-27T16:12:10.561Z",
"gender": 1,
"remote_id": "96932",
"first_name": "Birgit",
"cv": "",
"active": true,
"birth_place": "Bochum",
"full_name": "Birgit SIPPEL",
"birth_date": "1960-01-29",
"slug": "birgit-sippel"
"slug": "birgit-sippel
-1960-01-29
"
},
"model": "representatives.representative",
"pk": 651
...
...
@@ -367,14 +356,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/4521.jpg",
"created": "2015-12-27T16:12:13.040Z",
"gender": 2,
"remote_id": "4521",
"first_name": "Charles",
"cv": "",
"active": true,
"birth_place": "Aldershot, Hants",
"full_name": "Charles TANNOCK",
"birth_date": "1957-09-25",
"slug": "charles-tannock"
"slug": "charles-tannock
-1957-09-25
"
},
"model": "representatives.representative",
"pk": 653
...
...
@@ -386,14 +374,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/96991.jpg",
"created": "2015-12-27T16:12:15.374Z",
"gender": 1,
"remote_id": "96991",
"first_name": "Eider",
"cv": "",
"active": true,
"birth_place": "Bilbao",
"full_name": "Eider GARDIAZABAL RUBIAL",
"birth_date": "1975-07-12",
"slug": "eider-gardiazabal-rubial"
"slug": "eider-gardiazabal-rubial
-1975-07-12
"
},
"model": "representatives.representative",
"pk": 655
...
...
@@ -405,14 +392,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/97203.jpg",
"created": "2015-12-27T16:12:21.951Z",
"gender": 2,
"remote_id": "97203",
"first_name": "Ramon",
"cv": "",
"active": true,
"birth_place": "Barcelona",
"full_name": "Ramon TREMOSA i BALCELLS",
"birth_date": "1965-06-30",
"slug": "ramon-tremosa-i-balcells"
"slug": "ramon-tremosa-i-balcells
-1965-06-30
"
},
"model": "representatives.representative",
"pk": 661
...
...
@@ -424,14 +410,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/38601.jpg",
"created": "2015-12-27T16:12:32.285Z",
"gender": 2,
"remote_id": "38601",
"first_name": "Vladimir",
"cv": "",
"active": true,
"birth_place": "Bukovo",
"full_name": "Vladimir URUTCHEV",
"birth_date": "1954-10-01",
"slug": "vladimir-urutchev"
"slug": "vladimir-urutchev
-1954-10-01
"
},
"model": "representatives.representative",
"pk": 666
...
...
@@ -443,14 +428,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/96883.jpg",
"created": "2015-12-27T16:12:35.484Z",
"gender": 1,
"remote_id": "96883",
"first_name": "Eva",
"cv": "",
"active": true,
"birth_place": "Oslo",
"full_name": "Eva JOLY",
"birth_date": "1943-12-05",
"slug": "eva-joly"
"slug": "eva-joly
-1943-12-05
"
},
"model": "representatives.representative",
"pk": 670
...
...
@@ -462,14 +446,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/96826.jpg",
"created": "2015-12-27T16:12:43.694Z",
"gender": 2,
"remote_id": "96826",
"first_name": "Tam\u00e1s",
"cv": "",
"active": true,
"birth_place": "Budapest",
"full_name": "Tam\u00e1s DEUTSCH",
"birth_date": "1966-07-27",
"slug": "tamas-deutsch"
"slug": "tamas-deutsch
-1966-07-27
"
},
"model": "representatives.representative",
"pk": 678
...
...
@@ -481,14 +464,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/28150.jpg",
"created": "2015-12-27T16:12:44.679Z",
"gender": 1,
"remote_id": "28150",
"first_name": "Kinga",
"cv": "",
"active": true,
"birth_place": "Kolozsv\u00e1r",
"full_name": "Kinga G\u00c1L",
"birth_date": "1970-09-06",
"slug": "kinga-gal"
"slug": "kinga-gal
-1970-09-06
"
},
"model": "representatives.representative",
"pk": 679
...
...
@@ -500,14 +482,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/28206.jpg",
"created": "2015-12-27T16:12:47.546Z",
"gender": 2,
"remote_id": "28206",
"first_name": "Jean-Marie",
"cv": "",
"active": true,
"birth_place": "Epinal",
"full_name": "Jean-Marie CAVADA",
"birth_date": "1940-02-24",
"slug": "jean-marie-cavada"
"slug": "jean-marie-cavada
-1940-02-24
"
},
"model": "representatives.representative",
"pk": 681
...
...
@@ -519,14 +500,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/26851.jpg",
"created": "2015-12-27T16:12:51.025Z",
"gender": 2,
"remote_id": "26851",
"first_name": "Nikolaos",
"cv": "",
"active": true,
"birth_place": "Lagadia Arkadias",
"full_name": "Nikolaos CHOUNTIS",
"birth_date": "1953-09-17",
"slug": "nikolaos-chountis"
"slug": "nikolaos-chountis
-1953-09-17
"
},
"model": "representatives.representative",
"pk": 684
...
...
@@ -538,14 +518,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/95281.jpg",
"created": "2015-12-27T16:12:59.835Z",
"gender": 1,
"remote_id": "95281",
"first_name": "Viorica",
"cv": "",
"active": true,
"birth_place": "Ro\u015fiori de Vede",
"full_name": "Viorica D\u0102NCIL\u0102",
"birth_date": "1963-12-16",
"slug": "viorica-dancila"
"slug": "viorica-dancila
-1963-12-16
"
},
"model": "representatives.representative",
"pk": 692
...
...
@@ -557,14 +536,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/97019.jpg",
"created": "2015-12-27T16:13:05.354Z",
"gender": 2,
"remote_id": "97019",
"first_name": "Ivo",
"cv": "",
"active": true,
"birth_place": "Maribor",
"full_name": "Ivo VAJGL",
"birth_date": "1943-03-03",
"slug": "ivo-vajgl"
"slug": "ivo-vajgl
-1943-03-03
"
},
"model": "representatives.representative",
"pk": 697
...
...
@@ -576,14 +554,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/96899.jpg",
"created": "2015-12-27T16:13:09.181Z",
"gender": 2,
"remote_id": "96899",
"first_name": "Jos\u00e9 Manuel",
"cv": "",
"active": true,
"birth_place": "Vila Verde",
"full_name": "Jos\u00e9 Manuel FERNANDES",
"birth_date": "1967-07-26",
"slug": "jose-manuel-fernandes"
"slug": "jose-manuel-fernandes
-1967-07-26
"
},
"model": "representatives.representative",
"pk": 699
...
...
@@ -595,14 +572,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/102886.jpg",
"created": "2015-12-27T16:13:25.442Z",
"gender": 1,
"remote_id": "102886",
"first_name": "Ildik\u00f3",
"cv": "",
"active": true,
"birth_place": "Sziksz\u00f3",
"full_name": "Ildik\u00f3 G\u00c1LL-PELCZ",
"birth_date": "1962-05-02",
"slug": "ildiko-gall-pelcz"
"slug": "ildiko-gall-pelcz
-1962-05-02
"
},
"model": "representatives.representative",
"pk": 705
...
...
@@ -614,14 +590,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/96842.jpg",
"created": "2015-12-27T16:13:28.058Z",
"gender": 2,
"remote_id": "96842",
"first_name": "Ismail",
"cv": "",
"active": true,
"birth_place": "Amberg",
"full_name": "Ismail ERTUG",
"birth_date": "1975-12-05",
"slug": "ismail-ertug"
"slug": "ismail-ertug
-1975-12-05
"
},
"model": "representatives.representative",
"pk": 708
...
...
@@ -633,14 +608,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/96680.jpg",
"created": "2015-12-27T16:13:48.630Z",
"gender": 2,
"remote_id": "96680",
"first_name": "Zigmantas",
"cv": "",
"active": true,
"birth_place": "\u0160ilut\u0117",
"full_name": "Zigmantas BAL\u010cYTIS",
"birth_date": "1953-11-16",
"slug": "zigmantas-balcytis"
"slug": "zigmantas-balcytis
-1953-11-16
"
},
"model": "representatives.representative",
"pk": 717
...
...
@@ -652,14 +626,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/96681.jpg",
"created": "2015-12-27T16:13:52.076Z",
"gender": 1,
"remote_id": "96681",
"first_name": "Vilija",
"cv": "",
"active": true,
"birth_place": "Linkuva Pakruojo Raj.",
"full_name": "Vilija BLINKEVI\u010cI\u016aT\u0116",
"birth_date": "1960-03-03",
"slug": "vilija-blinkeviciute"
"slug": "vilija-blinkeviciute
-1960-03-03
"
},
"model": "representatives.representative",
"pk": 718
...
...
@@ -671,14 +644,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/28238.jpg",
"created": "2015-12-27T16:13:52.555Z",
"gender": 2,
"remote_id": "28238",
"first_name": "Michael",
"cv": "",
"active": true,
"birth_place": "Gevelsberg",
"full_name": "Michael CRAMER",
"birth_date": "1949-06-16",
"slug": "michael-cramer"
"slug": "michael-cramer
-1949-06-16
"
},
"model": "representatives.representative",
"pk": 719
...
...
@@ -690,14 +662,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/97296.jpg",
"created": "2015-12-27T16:14:35.815Z",
"gender": 2,
"remote_id": "97296",
"first_name": "Michel",
"cv": "",
"active": true,
"birth_place": "Lyon",
"full_name": "Michel DANTIN",
"birth_date": "1960-01-15",
"slug": "michel-dantin"
"slug": "michel-dantin
-1960-01-15
"
},
"model": "representatives.representative",
"pk": 736
...
...
@@ -709,14 +680,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/96725.jpg",
"created": "2015-12-27T16:14:39.358Z",
"gender": 2,
"remote_id": "96725",
"first_name": "Bas",
"cv": "",
"active": true,
"birth_place": "Groesbeek",
"full_name": "Bas EICKHOUT",
"birth_date": "1976-10-08",
"slug": "bas-eickhout"
"slug": "bas-eickhout
-1976-10-08
"
},
"model": "representatives.representative",
"pk": 738
...
...
@@ -728,14 +698,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/23868.jpg",
"created": "2015-12-27T16:14:46.229Z",
"gender": 1,
"remote_id": "23868",
"first_name": "Monika",
"cv": "",
"active": true,
"birth_place": "Bratislava",
"full_name": "Monika FLA\u0160\u00cdKOV\u00c1 BE\u0147OV\u00c1",
"birth_date": "1968-08-15",
"slug": "monika-flasikova-benova"
"slug": "monika-flasikova-benova
-1968-08-15
"
},
"model": "representatives.representative",
"pk": 743
...
...
@@ -747,14 +716,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/28122.jpg",
"created": "2015-12-27T16:14:48.275Z",
"gender": 2,
"remote_id": "28122",
"first_name": "David",
"cv": "",
"active": true,
"birth_place": "Valletta",
"full_name": "David CASA",
"birth_date": "1968-11-16",
"slug": "david-casa"
"slug": "david-casa
-1968-11-16
"
},
"model": "representatives.representative",
"pk": 744
...
...
@@ -766,14 +734,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/28116.jpg",
"created": "2015-12-27T16:14:54.047Z",
"gender": 1,
"remote_id": "28116",
"first_name": "Marian",
"cv": "",
"active": true,
"birth_place": "Sligo",
"full_name": "Marian HARKIN",
"birth_date": "1953-11-26",
"slug": "marian-harkin"
"slug": "marian-harkin
-1953-11-26
"
},
"model": "representatives.representative",
"pk": 746
...
...
@@ -785,14 +752,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/96771.jpg",
"created": "2015-12-27T16:14:54.789Z",
"gender": 2,
"remote_id": "96771",
"first_name": "Jaros\u0142aw",
"cv": "",
"active": true,
"birth_place": "Wyszk\u00f3w",
"full_name": "Jaros\u0142aw KALINOWSKI",
"birth_date": "1962-04-12",
"slug": "jarosaw-kalinowski"
"slug": "jarosaw-kalinowski
-1962-04-12
"
},
"model": "representatives.representative",
"pk": 747
...
...
@@ -804,14 +770,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/38420.jpg",
"created": "2015-12-27T16:14:55.739Z",
"gender": 2,
"remote_id": "38420",
"first_name": "Cristian-Silviu",
"cv": "",
"active": true,
"birth_place": "Drobeta Turnu-Severin",
"full_name": "Cristian-Silviu BU\u015eOI",
"birth_date": "1978-03-01",
"slug": "cristian-silviu-busoi"
"slug": "cristian-silviu-busoi
-1978-03-01
"
},
"model": "representatives.representative",
"pk": 748
...
...
@@ -823,14 +788,13 @@
"photo": "http://www.europarl.europa.eu/mepphoto/96673.jpg",
"created": "2015-12-27T16:14:58.688Z",
"gender": 2,
"remote_id": "96673",
"first_name": "Olle",
"cv": "",
"active": true,
"birth_place": "H\u00e4ls\u00f6",
"full_name": "Olle LUDVIGSSON",
"birth_date": "1948-10-28",
"slug": "olle-ludvigsson"
"slug": "olle-ludvigsson
-1948-10-28
"
},
"model": "representatives.representative",
"pk": 750
...
...
@@ -1253,6 +1217,402 @@
"model": "representatives.email",
"pk": 755
},
{
"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": 1
},
{
"fields": {
"url": "http://www.europarl.europa.eu/meps/en/40599/_home.html",
"updated": "2015-12-13T02:07:24.408",
"representative": 282,
"kind": "EP",
"created": "2015-12-13T02:07:24.408"
},
"model": "representatives.website",
"pk": 2
},
{
"fields": {
"url": "http://www.europarl.europa.eu/meps/en/1263/_home.html",
"updated": "2015-12-13T02:07:24.408",
"representative": 439,
"kind": "EP",
"created": "2015-12-13T02:07:24.408"
},
"model": "representatives.website",
"pk": 3
},
{
"fields": {
"url": "http://www.europarl.europa.eu/meps/en/96677/_home.html",
"updated": "2015-12-13T02:07:24.408",
"representative": 614,
"kind": "EP",
"created": "2015-12-13T02:07:24.408"
},
"model": "representatives.website",
"pk": 4
},
{
"fields": {
"url": "http://www.europarl.europa.eu/meps/en/38605/_home.html",
"updated": "2015-12-13T02:07:24.408",
"representative": 642,
"kind": "EP",
"created": "2015-12-13T02:07:24.408"
},
"model": "representatives.website",
"pk": 5
},
{
"fields": {
"url": "http://www.europarl.europa.eu/meps/en/97968/_home.html",
"updated": "2015-12-13T02:07:24.408",
"representative": 644,
"kind": "EP",
"created": "2015-12-13T02:07:24.408"
},
"model": "representatives.website",
"pk": 6