Skip to content

Commit

Permalink
Fix verbose name templating re #11009
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Jul 2, 2024
1 parent aa108b3 commit 5d095b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions arches/install/arches-admin
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ class ArchesProjectCommand(TemplateCommand):
options["arches_version"] = f"dev/{complete_version[0]}.{complete_version[1]}.x"
options["arches_semantic_version"] = ".".join([str(arches.VERSION[0]), str(arches.VERSION[1]), str(arches.VERSION[2])])
options["arches_next_minor_version"] = ".".join([str(arches.VERSION[0]), str(arches.VERSION[1] + 1), "0"])
options["project_name_title_case"] = project_name.title()

super(ArchesProjectCommand, self).handle('project', project_name, target, **options)

Expand Down
1 change: 1 addition & 0 deletions arches/install/arches-project
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class ArchesCommand(TemplateCommand):
options["arches_version"] = f"dev/{complete_version[0]}.{complete_version[1]}.x"
options["arches_semantic_version"] = ".".join([str(arches.VERSION[0]), str(arches.VERSION[1]), str(arches.VERSION[2])])
options["arches_next_minor_version"] = ".".join([str(arches.VERSION[0]), str(arches.VERSION[1] + 1), "0"])
options["project_name_title_case"] = project_name.title()

super(ArchesCommand, self).handle('project', project_name, target, **options)

Expand Down
2 changes: 1 addition & 1 deletion arches/install/arches-templates/project_name/apps.py-tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ from arches.settings_utils import inject_arches_applications_directories

class {{ project_name_title_case }}Config(AppConfig):
name = "{{ project_name }}"
verbose_name = {{ project_name_title_case }}
verbose_name = "{{ project_name_title_case }}"
is_arches_application = True

def ready(self):
Expand Down

0 comments on commit 5d095b2

Please sign in to comment.