Make HOSTNAME public

issue6127
review34561002
This commit is contained in:
Cédric Krier committed 2016-12-21 23:24:56 +01:00
1 parent ab794f6411
commit 9c6cc66a41
1 file changed
+1 -1
+1 -1
View File
@@ -8,7 +8,7 @@ import socket
from trytond.config import config
from trytond.transaction import Transaction
__all__ = ['URLMixin']
__all__ = ['URLMixin', 'HOSTNAME']
HOSTNAME = (config.get('web', 'hostname')
or socket.getfqdn())