Skip to content
  • Vangelis Koukis's avatar
    Make owner a not null ForeignKey in VirtualMachine · 543294c0
    Vangelis Koukis authored
    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.
    543294c0