Skip to content

Commit

Permalink
Add test view
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Apr 21, 2020
1 parent 1b3289e commit 90d6b95
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions testing/fixtures/views.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,26 @@
"help_lang4": "",
"help_lang5": ""
}
},
{
"model": "views.view",
"pk": 2,
"fields": {
"uri": "http://example.com/terms/views/numbers",
"uri_prefix": "http://example.com/terms",
"key": "numbers",
"comment": "",
"template": "{% load view_tags %}\n{% load mathfilters %}\n\n<h1>Numbers</h1>\n\n{% get_numbers 'individual/collection/range' as n %}\n\n{% for nn in n %}\n{% for nnn in nn %}\n{{ nnn|sub:1 }}\n{% endfor %}\n{% endfor %}",
"title_lang1": "View B",
"title_lang2": "Ansicht B",
"title_lang3": "",
"title_lang4": "",
"title_lang5": "",
"help_lang1": "At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est.",
"help_lang2": "At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est.",
"help_lang3": "",
"help_lang4": "",
"help_lang5": ""
}
}
]

0 comments on commit 90d6b95

Please sign in to comment.