host

How to use Django to get the name for the host server?

How to use Django to get the name for the host server? Question: How to use Django to get the name for the host server? I need the name of the hosting server instead of the client name? Asked By: user469652 || Source Answers: Try os.environ.get(‘HOSTNAME’) Answered By: Ankit Jaiswal I generally put something like …

Total answers: 9