summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-05 12:05:26 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-05 12:05:26 +0200
commit1db01464e219590133e9b7d30d9d1a32172ef0e3 (patch)
treed3727bf591fb343b4e8a7c11e825a82f9faa136c
parent061b50764d3df64cf68aa676bb416cfd29c39523 (diff)
downloadIshtar-1db01464e219590133e9b7d30d9d1a32172ef0e3.tar.bz2
Ishtar-1db01464e219590133e9b7d30d9d1a32172ef0e3.zip
Add title types to default fixtures
-rw-r--r--Makefile.example1
-rw-r--r--ishtar_common/fixtures/initial_data-fr.json50
2 files changed, 51 insertions, 0 deletions
diff --git a/Makefile.example b/Makefile.example
index 4febeea65..ddc03452d 100644
--- a/Makefile.example
+++ b/Makefile.example
@@ -168,6 +168,7 @@ fixtures_common: fixtures_common_importers fixtures_common_towns
ishtar_common.organizationtype \
ishtar_common.sourcetype \
ishtar_common.operationtype \
+ ishtar_common.titletype \
> '../ishtar_common/fixtures/initial_data-'$(default_data)'.json'
fixtures_common_importers:
diff --git a/ishtar_common/fixtures/initial_data-fr.json b/ishtar_common/fixtures/initial_data-fr.json
index 24a0d7a6c..3c8aab20b 100644
--- a/ishtar_common/fixtures/initial_data-fr.json
+++ b/ishtar_common/fixtures/initial_data-fr.json
@@ -1190,5 +1190,55 @@
"order": 1,
"txt_idx": "sampling"
}
+ },
+ {
+ "pk": 25,
+ "model": "ishtar_common.titletype",
+ "fields": {
+ "comment": null,
+ "available": true,
+ "txt_idx": "dr",
+ "label": "Dr."
+ }
+ },
+ {
+ "pk": 21,
+ "model": "ishtar_common.titletype",
+ "fields": {
+ "comment": null,
+ "available": true,
+ "txt_idx": "mr",
+ "label": "M."
+ }
+ },
+ {
+ "pk": 22,
+ "model": "ishtar_common.titletype",
+ "fields": {
+ "comment": null,
+ "available": true,
+ "txt_idx": "ms",
+ "label": "Mlle"
+ }
+ },
+ {
+ "pk": 24,
+ "model": "ishtar_common.titletype",
+ "fields": {
+ "comment": null,
+ "available": true,
+ "txt_idx": "md",
+ "label": "Mme"
+ }
+ },
+ {
+ "pk": 23,
+ "model": "ishtar_common.titletype",
+ "fields": {
+ "comment": null,
+ "available": true,
+ "txt_idx": "mr and miss",
+ "label": "Mr and Mrs"
+ }
}
]