Explorar o código

Fixed #3697: Correct field_order attribute name

hSaria %!s(int64=6) %!d(string=hai) anos
pai
achega
b46e52eccc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/additional-features/custom-scripts.md

+ 1 - 1
docs/additional-features/custom-scripts.md

@@ -182,7 +182,7 @@ class NewBranchScript(Script):
     class Meta:
     class Meta:
         name = "New Branch"
         name = "New Branch"
         description = "Provision a new branch site"
         description = "Provision a new branch site"
-        fields = ['site_name', 'switch_count', 'switch_model']
+        field_order = ['site_name', 'switch_count', 'switch_model']
 
 
     site_name = StringVar(
     site_name = StringVar(
         description="Name of the new site"
         description="Name of the new site"