in , ,

That is a good excuse

That is a good excuse | try-memes, loc-memes, docker-memes, url-memes, IT-memes, socket-memes, container-memes | ProgrammerHumor.io
try-memes, loc-memes, docker-memes, url-memes, IT-memes, socket-memes, container-memes | ProgrammerHumor.io

Content

21 I generally put something like this in settings.py: import socket try: HOSTNAME socket. gethostname () except: HOSTNAME ‘localhost’ share edit flag answered Nov 5 ’10 at 4:15 FAQ Craig Trader 11.5k 04 22 049 2 2 Your solution does not work, if you use Docker. It will show the container ID instead of the URL. – Ozer S. Nov 18 ’16 at 9:57 My solution was written before Docker existed. Sorry. – Craig Trader Nov 22 ’16 at 8:03