Usage
- `python manage.py makemigrations djangoip`
- `python manage.py migrate`
**/settings.py**
python
INSTALLED_APPS += ["djangoip"]
MIDDLEWARE += ["djangoip.middleware.ip_middleware.IpMiddleware"]
to saved all ip addresses, and get write like this 'request.ip_model'
and
python
def get_ip_model(request):
return request.ip_model