History | View | Annotate | Download (6 kB)
a few changes on the handlers in order to work with the rapi (since we now have access).
removed id_from_instance function from the VirtualMachine model and put it back since it will be needed as a global functionto be imported by handlers and not as a staticmethod of the VM model.
changed name of ganeti_id and prefix to backend_id and backend_prefix_id
Minor fixes to verbose_name fields.
verbose_name fields must be in singular, perhttp://docs.djangoproject.com/en/dev/ref/models/options/.verbose_name_plural can be used if a plural form is needed.
Minor fixes per PEP 257 [please fix as desired],minor fix to flavor names [CxxRyyDzz].
Playing with tabs and spaces
CreditAllocator is complete
Minor corrections in CreditAllocator and Models
a few changes regarding the VirtualMachines id and ganeti id.
added Image model and updated admin.py to include it as well
Add aquarium app to django base project; Modify configuration files appropriately
Renamed User -> OceanUser
Added monthly rate to User model
Fix several errors in db.models
Among other things: * PEP-8 styling conventions * Remove unnecessary primary keys (Django handles those) * Remove ugly column name prefixes * Use singular for class names * Replace the buggy double-PKs with a unique_together...
Definition of models for Django ORM, available under db/.