I have a Django Website and I'm using IPInfo. When the user signs up, I have the following signal:
@receiver(user_signed_up)
def create_profile(request, user, **kwargs):
ip = request.ipinfo.ip
city = request.ipinfo.city
country = request.ipinfo.country
region = request.ipinfo.region
timezone = request.ipinfo.timezone
postal = request.ipinfo.postal
loc = request.ipinfo.loc
//Save into DB
However, instead of saving the user's details it saves the server's IP, city, etc. What am I doing wrong and how can I fix this?