1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

fixtures: add created and last_udpated fields.

switched fixtures to json to avoid https://code.djangoproject.com/ticket/18867
This commit is contained in:
Zach Moody
2016-06-22 22:30:24 -05:00
parent 85a50c67de
commit 677700aadf
6 changed files with 6244 additions and 1898 deletions

View File

@ -0,0 +1,47 @@
[
{
"model": "extras.graph",
"pk": 1,
"fields": {
"type": 300,
"weight": 1000,
"name": "Site Test Graph",
"source": "http://localhost/na.png",
"link": ""
}
},
{
"model": "extras.graph",
"pk": 2,
"fields": {
"type": 200,
"weight": 1000,
"name": "Provider Test Graph",
"source": "http://localhost/provider_graph.png",
"link": ""
}
},
{
"model": "extras.graph",
"pk": 3,
"fields": {
"type": 100,
"weight": 1000,
"name": "Interface Test Graph",
"source": "http://localhost/interface_graph.png",
"link": ""
}
},
{
"model": "extras.useraction",
"pk": 1,
"fields": {
"time": "2016-06-23T04:30:37.586Z",
"user": 1,
"content_type": 10,
"object_id": 1,
"action": 1,
"message": "Created site <a href=\"/dcim/sites/test/\">TEST</a>"
}
}
]