From b5c5602301c9a73e837bbc4599e23636b865ba69 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 16 Nov 2016 22:50:40 -0400 Subject: [PATCH] Expose more module attributes as project variables. --- mayan/settings/base.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mayan/settings/base.py b/mayan/settings/base.py index 4b7bb2cae6..e683b14547 100644 --- a/mayan/settings/base.py +++ b/mayan/settings/base.py @@ -15,6 +15,8 @@ import sys from django.utils.translation import ugettext_lazy as _ +import mayan + _file_path = os.path.abspath(os.path.dirname(__file__)).split('/') BASE_DIR = '/'.join(_file_path[0:-2]) @@ -147,9 +149,10 @@ STATIC_URL = '/static/' # ------------ Custom settings section ---------- TEMPLATE_DEBUG = True -PROJECT_TITLE = 'Mayan EDMS' -PROJECT_NAME = 'mayan' +PROJECT_TITLE = mayan.__title__ PROJECT_WEBSITE = 'http://www.mayan-edms.com' +PROJECT_COPYRIGHT = mayan.__copyright__ +PROJECT_LICENSE = mayan.__license__ LANGUAGES = ( ('ar', _('Arabic')),