-
-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[extending] openwisp-users cannot be extended. #377
Comments
@atb00ker I'd be happy also with simply fixing the import, without extending openwisp_users, although the test would surely allow us to ensure everything works but if we follow that approach then we should do it also in firmware-upgrader with the controller models and in monitoring with the controller models, but we risk to bloat the test code and make our life painful so we should be cautious. |
@nemesisdesign I understand but if we are providing the feature to extend, I think it's easier to develop it when we can test by extending as well, but I understand your point too! 😄 |
I think it should be verified and tested that the extension feature actually works and that all modules are prepared. After updating our setup to the latest releases of all OpenWISP modules I started to create extended apps for all apps of openwisp-controller and openwisp-users, investing many hours to get this to work until I realized that there are still issues like this one (and possibly others). I noticed I was probably the first one to really use this feature and then resorted to add my changes with few patches. |
@atb00ker @okraits when important issues like this arise, please help me to make sure these are listed in the priority board. |
IPAM suffers the same issue. |
The openwisp-users models are hardcoded in places, example:
To solve this problem, we should:
The text was updated successfully, but these errors were encountered: