Skip to content
This repository was archived by the owner on Sep 19, 2018. It is now read-only.

Commit 843fa6b

Browse files
committed
Merge pull request #396 from goranche/fix-list-button
This should fix the 'list all events in ...' button issue
2 parents 617e571 + d06b4e1 commit 843fa6b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web/processors/event.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313

1414
def get_client_ip(forwarded=None, remote=None):
15+
if settings.DEBUG and remote == '127.0.0.1':
16+
return '93.103.53.11'
1517
if forwarded:
1618
return forwarded.split(',')[0]
1719
return remote

0 commit comments

Comments
 (0)