mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed code smell 'String literals should not be duplicated'.
Create a constant.py file which contains the common Constants.
This commit is contained in:
committed by
Akshay Joshi
parent
4b56962c1b
commit
cc5a7ea334
15
web/pgadmin/utils/constants.py
Normal file
15
web/pgadmin/utils/constants.py
Normal file
@@ -0,0 +1,15 @@
|
||||
##########################################################################
|
||||
#
|
||||
# pgAdmin 4 - PostgreSQL Tools
|
||||
#
|
||||
# Copyright (C) 2013 - 2020, The pgAdmin Development Team
|
||||
# This software is released under the PostgreSQL Licence
|
||||
#
|
||||
##########################################################################
|
||||
|
||||
"""Application wide constants."""
|
||||
|
||||
APP_JS = 'application/javascript'
|
||||
PGADMIN_NODE = 'pgadmin.node.%s'
|
||||
KEYBOARD_SHORTCUTS = 'Keyboard shortcuts'
|
||||
UNAUTH_REQ = "Unauthorized request."
|
||||
Reference in New Issue
Block a user