Add enable_512mb_ram option in model/plugin
This commit is contained in:
		
					parent
					
						
							
								d7be223fcb
							
						
					
				
			
			
				commit
				
					
						76efc35324
					
				
			
		
					 4 changed files with 12 additions and 3 deletions
				
			
		|  | @ -97,6 +97,8 @@ class DCLCalculatorPlugin(CMSPluginBase): | |||
|             context['templates'] = VMTemplate.objects.filter( | ||||
|                 vm_type=instance.vm_type | ||||
|             ) | ||||
|         if instance.enable_512mb_ram: | ||||
|             context['enable_512mb_ram'] = True | ||||
|         return context | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue