Replace use of mayan.__title__ with common project title to ensure the overrided name is displayed in all views.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -4,10 +4,11 @@ from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from drf_yasg import openapi
|
||||
|
||||
from common.settings import setting_project_title
|
||||
import mayan
|
||||
|
||||
openapi_info = openapi.Info(
|
||||
title=_('%s API') % mayan.__title__,
|
||||
title=_('%s API') % setting_project_title.value,
|
||||
default_version='v2',
|
||||
description=mayan.__description__,
|
||||
license=openapi.License(name=mayan.__license__),
|
||||
|
||||
Reference in New Issue
Block a user