Commit 642bc43b authored by Hamza Dely's avatar Hamza Dely

[config] Ajout bde2-virt à PROD + Import de platform

parent 27d3595b
......@@ -3,11 +3,12 @@
# Django settings for Django_Client project.
import socket
import platform
#: Est-on sur la note de dev ?
DEV = (socket.gethostname() == "bde-test")
#: Est-on sur la note de prod ?
PROD = (socket.gethostname() == "bde2")
PROD = (socket.gethostname() == ["bde2", "bde2-virt", ])
# Sur quel système la note tourne-t-elle ?
SYSTEM, NODE_NAME, KERNEL, KERNEL_VERSION, _, _ = platform.uname()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment