Commit 07fbeada authored by Vangelis Koukis's avatar Vangelis Koukis
Browse files

Add independent fixtures for the Image model

Add independent fixtures for the Image model in db/fixtures/images.json,
no dependencies from VirtualMachine instances.
parent dd9c60ff
......@@ -9,7 +9,7 @@ Django configuration in ettings.py:
'ENGINE': 'sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
# ATTENTION: This *must* be the absolute path if using sqlite3.
# See: http://docs.djangoproject.com/en/dev/ref/settings/#name
'NAME': PROJECT_PATH + 'database.sqlite', # Or path to database file if using sqlite3.
'NAME': PROJECT_PATH + 'database.sqlite' # Or path to database file if using sqlite3.
}
}
......
[
{
"model": "db.Image",
"pk": 3,
"fields": {
"name": "Debian Unstable",
"created": "2011-02-06 00:00:00",
"updated": "2011-02-06 00:00:00",
"state": "ACTIVE",
"description": "Debian Sid, full installation",
"size": 4096
}
},
{
"model": "db.Image",
"pk": 4,
"fields": {
"name": "Red Hat Enterprise Linux",
"created": "2011-02-06 00:00:00",
"updated": "2011-02-06 00:00:00",
"state": "ACTIVE",
"description": "Red Hat Enterprise Linux, full installation",
"size": 2048
}
},
{
"model": "db.Image",
"pk": 5,
"fields": {
"name": "Ubuntu 10.10",
"created": "2011-02-06 00:00:00",
"updated": "2011-02-06 00:00:00",
"state": "ACTIVE",
"description": "Ubuntu 10.10, full installation",
"size": 8192
}
}
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment