Answers for "whitelist the ip address django"

0

whitelist the ip address django

$ pip install django-ip-restriction
Posted by: Guest on May-13-2020
0

whitelist the ip address django

# Django 1.9
MIDDLEWARE_CLASSES = [
    ...
    'ip_restriction.IpWhitelister',
    ...
]

# Django 1.10+
MIDDLEWARE = [
    ...
    'ip_restriction.IpWhitelister',
    ...
]
Posted by: Guest on May-13-2020

Python Answers by Framework

Browse Popular Code Answers by Language