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

Commit 6ae0e5a

Browse files
committed
country_code no longer needed in index view
1 parent 9c38e50 commit 6ae0e5a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

web/views/events.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def index(request):
5656
user_ip = get_client_ip(forwarded=request.META.get('HTTP_X_FORWARDED_FOR'),
5757
remote=request.META.get('REMOTE_ADDR'))
5858

59-
country_code = None
6059
country = get_country_from_user_ip(user_ip)
6160

6261
try:

0 commit comments

Comments
 (0)