Mentions légales du service

Skip to content

allow using network prefixes in ALLGO_ALLOWED_IP_ADMIN

BAIRE Anthony requested to merge allow-ip-admin-networks into django

Rationale: in development the ip address of the local machine is not easily predictible because when docker creates virtual networks it assigns the ip prefixes/addres dynamically by default (and i do not want to configure static addresses because of it may interefere and cause nasty side-effects if using docker for other projects on the same machine)

Now in development we allow admin actions from 0.0.0.0/0 (which means all ip addresses)

Note: I used the IPy package (whose purpose is to handle ranges of IP addresses)

Merge request reports