mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #5496 -- Added test cases for some of the built-in Django views. Thanks to Manuel Saelices <msaelices@yaco.es> for the original patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
25
tests/regressiontests/views/fixtures/testdata.json
Normal file
25
tests/regressiontests/views/fixtures/testdata.json
Normal file
@@ -0,0 +1,25 @@
|
||||
[
|
||||
{
|
||||
"pk": 1,
|
||||
"model": "views.article",
|
||||
"fields": {
|
||||
"author": 1,
|
||||
"title": "An Article"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pk": 1,
|
||||
"model": "views.author",
|
||||
"fields": {
|
||||
"name": "Boris"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pk": 1,
|
||||
"model": "sites.site",
|
||||
"fields": {
|
||||
"domain": "testserver",
|
||||
"name": "testserver"
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user