Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 354 Bytes

README.rst

File metadata and controls

16 lines (10 loc) · 354 Bytes

django-xforwardedfor-middleware

Simple Django middleware to use the X-Forwarded-For header as the request IP.

Installation

pip install django-xforwardedfor-middleware

Usage

Just add x_forwarded_for.middleware.XForwardedForMiddleware to your middleware.