diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2015-06-11 03:36:46 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2015-06-11 03:36:46 +0200 | 
| commit | cb85ac0b7d126a739d1fb459d6d91789d8961086 (patch) | |
| tree | 66a2d6aafc47706eef5595ee98afb719ae65d8b4 | |
| parent | 153f850062bcddcacd325141d845882b438d61b2 (diff) | |
| download | Ishtar-cb85ac0b7d126a739d1fb459d6d91789d8961086.tar.bz2 Ishtar-cb85ac0b7d126a739d1fb459d6d91789d8961086.zip  | |
Fixtures: add duplicate fields to import fixtures
| -rw-r--r-- | Makefile.example | 1 | ||||
| -rw-r--r-- | ishtar_common/fixtures/initial_importtypes-fr.json | 32 | 
2 files changed, 33 insertions, 0 deletions
diff --git a/Makefile.example b/Makefile.example index 29ba7cb56..130318d36 100644 --- a/Makefile.example +++ b/Makefile.example @@ -123,6 +123,7 @@ fixtures_common_importers:  							ishtar_common.importercolumn \  							ishtar_common.importtarget \  							ishtar_common.formatertype \ +							ishtar_common.importerduplicatefield \  	   > '../ishtar_common/fixtures/initial_importtypes-'$(default_data)'.json'  fixtures_common_towns: diff --git a/ishtar_common/fixtures/initial_importtypes-fr.json b/ishtar_common/fixtures/initial_importtypes-fr.json index 4cb490128..92a0c10d7 100644 --- a/ishtar_common/fixtures/initial_importtypes-fr.json +++ b/ishtar_common/fixtures/initial_importtypes-fr.json @@ -1372,5 +1372,37 @@              "many_split": "",               "options": "%Y"          } +    },  +    { +        "pk": 1,  +        "model": "ishtar_common.importerduplicatefield",  +        "fields": { +            "column": 37,  +            "field_name": "find__external_id" +        } +    },  +    { +        "pk": 2,  +        "model": "ishtar_common.importerduplicatefield",  +        "fields": { +            "column": 37,  +            "field_name": "label" +        } +    },  +    { +        "pk": 3,  +        "model": "ishtar_common.importerduplicatefield",  +        "fields": { +            "column": 37,  +            "field_name": "find__label" +        } +    },  +    { +        "pk": 4,  +        "model": "ishtar_common.importerduplicatefield",  +        "fields": { +            "column": 10,  +            "field_name": "external_id" +        }      }  ]
\ No newline at end of file  | 
