Statistics
| Branch: | Tag: | Revision:

root / db @ e2664ada

Name Size
  fixtures
  management
  migrations
__init__.py 0 Bytes
admin.py 1.9 kB
bill_calculator.py 197 Bytes
charger.py 616 Bytes
credit_allocator.py 975 Bytes
db_controller.py 4.3 kB
models.py 11.7 kB
tests.py 954 Bytes
views.py 26 Bytes

Latest revisions

# Date Author Comment
e2664ada 04/13/2011 11:51 am Vassilios Karakoidas

Wallet renamed to credits in fixtures (db)

602ebb17 04/12/2011 04:41 pm Vassilios Karakoidas

Add initial migration with south

cc2d9e9c 04/12/2011 04:23 pm Vassilios Karakoidas

Clean-up branch from migrations new_south_test_field = models.IntegerField(default=1) new_south_test_field = models.IntegerField(default=1)

664a3878 04/11/2011 04:54 pm Vassilios Karakoidas

Added example that renames a field in SynnefoUser model

9ad94f0a 04/11/2011 03:50 pm Vassilios Karakoidas

Writing some introductory south examples based on synnefo models.

  • Update README.develop to contain a small guide regarding database
    migration policy
a25243b5 04/11/2011 11:34 am Vassilios Karakoidas

Integration with south

  • Loading south app in settings.py
  • Performed initial migration ./manage.py schemamigration db
44e6ec18 04/07/2011 09:45 pm Vangelis Koukis

Fix broken db_test_data.json wrt to Image model

Removing the description field from the Image model
and moving it to ImageMetadata broke the fixtures in
db_test_data.json and the associated tests of the db app.

Tests for api, db, logic run properly.

76ba77c1 04/05/2011 08:54 pm Vangelis Koukis

Fix bugs in api/server.py:create_server()

Fix bugs in server creation, in api/server.py:create_server().
More specifically: * Make sure to save() the vm object before calling vm.backend_id * Delete the vm instance if the RAPI call fails for any reason * Use different variable names for the server name at the API level...

498728a8 04/05/2011 08:02 pm Vangelis Koukis

Fix Image fixtures, remove size attribute

Fix the fixtures for the Image model, removing references
to the size attribute, which no longer exists in the Image model
since commit 838c404d4.

Also fix unloadable fixtures, by removing stray comma chars
in JSON.

432fc8c3 04/05/2011 01:21 pm Giorgos Verigakis

Add metadata support in Images

Removed description and size from Image model.

View revisions

Also available in: Atom