vm template prefix
This commit is contained in:
		
					parent
					
						
							
								cba53e0fe3
							
						
					
				
			
			
				commit
				
					
						a4ca17e2ed
					
				
			
		
					 6 changed files with 58 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -9,7 +9,7 @@ from djangocms_text_ckeditor.fields import HTMLField
 | 
			
		|||
from filer.fields.file import FilerFileField
 | 
			
		||||
from filer.fields.image import FilerImageField
 | 
			
		||||
 | 
			
		||||
from datacenterlight.models import VMPricing
 | 
			
		||||
from datacenterlight.models import VMPricing, VMTemplate
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class CMSIntegration(models.Model):
 | 
			
		||||
| 
						 | 
				
			
			@ -299,3 +299,7 @@ class DCLCalculatorPluginModel(CMSPlugin):
 | 
			
		|||
        help_text='Choose a pricing that will be associated with this '
 | 
			
		||||
                  'Calculator'
 | 
			
		||||
    )
 | 
			
		||||
    vm_type = models.CharField(
 | 
			
		||||
        max_length=50, choices=VMTemplate.VM_TYPE_CHOICES,
 | 
			
		||||
        default=VMTemplate.PUBLIC
 | 
			
		||||
    )
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue