openwisp / openwisp-utils

Python and Django utilities shared between different openwisp modules
https://openwisp.io/docs/stable/utils/
BSD 3-Clause "New" or "Revised" License
74 stars 72 forks source link

[feature] Extract Fallback Fields from OpenWISP RADIUS #333

Closed nemesifier closed 1 year ago

nemesifier commented 1 year ago

The logic (and related tests) added to OpenWISP RADIUS to implement fields which have fallback values retrieved from django settings is very useful to implement settings which are overridable for each organization.

We are going to need this feature in other modules too, therefore in order to strive to avoid duplication, we need to extract that logic and move it here so it can be reused across the different OpenWISP modules.

OpenWISP RADIUS issue: https://github.com/openwisp/openwisp-radius/issues/470.