Add default_selected_template field to DCLCalculatorPluginModel

This commit is contained in:
PCoder 2018-09-27 22:09:11 +02:00
commit 768f3532f7
2 changed files with 27 additions and 0 deletions

View file

@ -354,3 +354,10 @@ class DCLCalculatorPluginModel(CMSPlugin):
"in the backend to be automatically listed in this "
"calculator instance."
)
default_selected_template=models.CharField(
default="Devuan Jessie",
null=True,
max_length=128,
help_text="Write the name of the template that you need selected as"
" default when the calculator loads"
)