« Previous | Next » 

Revision 34a619ae

ID34a619ae120de032d6b006e18f3004e2c4dc74fb

Added by Vangelis Koukis almost 14 years ago

Make owner a not null ForeignKey in VirtualMachine

Make owner a required, not null foreign key in VirtualMachine.
Also fix fixtures and the implementation of POST /servers to include
a proper owner value (everything gets to be owned by the single SynnefoUser
defined in initial_data.json).

Recent commits for charging require a not null value for
vm.owner, otherwise NoneType exceptions get thrown.

All current db and api tests pass.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences