Refactor New Portfolio page according to designs.
New designs call for a streamlined New Portfolio page, with far fewer input options. This commit refactors that page according to those designs. Some of the route functions in this commit refer to a "step 1" of creating a new Portfolio. Though there is no "step 2" right now, the designs call for a multistep flow for Portfolio creation process, so this commit sets the stage for that.
This commit is contained in:
@@ -105,13 +105,7 @@ class PortfolioFactory(Base):
|
||||
|
||||
name = factory.Faker("domain_word")
|
||||
defense_component = factory.LazyFunction(random_service_branch)
|
||||
|
||||
app_migration = random_choice(data.APP_MIGRATION)
|
||||
complexity = [random_choice(data.APPLICATION_COMPLEXITY)]
|
||||
description = factory.Faker("sentence")
|
||||
dev_team = [random_choice(data.DEV_TEAM)]
|
||||
native_apps = random.choice(["yes", "no", "not_sure"])
|
||||
team_experience = random_choice(data.TEAM_EXPERIENCE)
|
||||
|
||||
@classmethod
|
||||
def _create(cls, model_class, *args, **kwargs):
|
||||
|
Reference in New Issue
Block a user