This should fix the 'list all events in ...' button issue

We removed the override of the IP in DEBUG mode, which caused localhost to not be associated with a country...
the code now checks for DEBUG and if the remote address is localhost (127.0.0.1) it returns a slovene address