Make HOSTNAME public
issue6127 review34561002
This commit is contained in:
1 parent
ab794f6411
commit
9c6cc66a41
1 file changed
+1
-1
+1
-1
@@ -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())
|
||||
|
||||
Reference in new issue
Block a user