Maintenance - Mise à jour mensuelle Lundi 1 Juin 2020 entre 7h00 et 9h00

Commit 9d08b8aa authored by Romain Therville's avatar Romain Therville 🐭

Update to the add project workflow

The available spaces can now be displayed and selected via a select
field instead of a simple textfield.

issue #151
parent 96df9089
......@@ -30,7 +30,7 @@ class AddProject (Workflow):
self.add_parameter("admin_login", "The login of a ng6 administrator", required = True, type = ng6adminlogin)
self.add_parameter("project_name", "Give a name to your project (has to be unique)", flag = "--name", required = True, type = uniqproject)
self.add_parameter("project_description", "Give a description to your project", flag = "--description", required = True)
self.add_parameter("space", "Where to store data", flag = "--space", default="default", type="ng6space")
self.add_parameter("space", "Where to store data", flag = "--space", default="default", type=ng6space)
def process(self):
project = Project(self.project_name, self.project_description, self.admin_login, None,
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment