senlin-dashboard/_50_senlin.py.example
tengqm c50ea935ab Fix translation setup
This patch adds 'senlin_dashboard' into the list of INSTALLED_APPS so
that the .pot files under the 'senlin_dashboard/locale' directory will
work. In future, we may need to remove the 'senlin_dashboard.cluster'
entry.

Change-Id: If5479865aea55b271ed13a4c5aa2cf0245d49963
2016-02-22 02:56:50 -05:00

15 lines
307 B
Plaintext

from senlin_dashboard import exceptions
DASHBOARD = 'cluster'
ADD_INSTALLED_APPS = [
'senlin_dashboard',
'senlin_dashboard.cluster'
]
DEFAULT = True
ADD_EXCEPTIONS = {
'recoverable': exceptions.RECOVERABLE,
'not_found': exceptions.NOT_FOUND,
'unauthorized': exceptions.UNAUTHORIZED,
}