Phasing out Product model
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								1aead50170
							
						
					
				
			
			
				commit
				
					
						c6bacab35a
					
				
			
		
					 12 changed files with 227 additions and 26 deletions
				
			
		| 
						 | 
				
			
			@ -10,7 +10,7 @@ storage_class_mapping = {
 | 
			
		|||
    'hdd': 'hdd'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
class VM(Product):
 | 
			
		||||
class VM(models.Model):
 | 
			
		||||
    vmid = models.IntegerField(primary_key=True)
 | 
			
		||||
    data = models.JSONField()
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue