Skip to content

Commit

Permalink
Update Django fixtures for land use agreement definitions and statuses
Browse files Browse the repository at this point in the history
Update the initial data for land use agreement definitions and
statuses via Django fixtures.
  • Loading branch information
jopesy committed Jan 29, 2021
1 parent 2e518f1 commit 45a966f
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
21 changes: 21 additions & 0 deletions leasing/fixtures/land_use_agreement_definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,26 @@
"fields": {
"name": "Kiinteistö"
}
},
{
"model": "leasing.LandUseAgreementDefinition",
"pk": 2,
"fields": {
"name": "Kaavayksikkö"
}
},
{
"model": "leasing.LandUseAgreementDefinition",
"pk": 3,
"fields": {
"name": "Määräala"
}
},
{
"model": "leasing.LandUseAgreementDefinition",
"pk": 4,
"fields": {
"name": "Muu"
}
}
]
16 changes: 15 additions & 1 deletion leasing/fixtures/land_use_agreement_status.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,21 @@
"model": "leasing.LandUseAgreementStatus",
"pk": 1,
"fields": {
"name": "Lorem"
"name": "Valmisteilla"
}
},
{
"model": "leasing.LandUseAgreementStatus",
"pk": 2,
"fields": {
"name": "Voimassa"
}
},
{
"model": "leasing.LandUseAgreementStatus",
"pk": 3,
"fields": {
"name": "Päättynyt"
}
}
]

0 comments on commit 45a966f

Please sign in to comment.