Django-ratelimit gets the same IP**

Login failed: username 'admin', IP**

Is it possible to pass the real user IP in? I use it for sign up/log in/password reset rate limiting.

Another independent error is:

UserWarning: No request passed to the backend, unable to rate-limit. Username was 'xxx'

Here you go:

OK thanks! It seems that django-ratelimit package did not use HTTP_X_REAL_IP.