ERROR ImportError: cannot import name 'ProtectedAPIMixin' from 'openwisp_users.api.mixins' #539
-
Hello.
It requires OpenWISP-Radius, which is strange. But okay, I installed OpenWISP-Radius, figured out the dependencies and my setup.py file began to look like this:
But when I start it, I get this problem and I don’t understand why:
I tried different versions of openwisp-users, openwisp-utils (because with ./manage.py migrate OpenWISP-Radius complained about them, supposedly the versions were incompatible), in the end nothing changed. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 15 replies
-
Hello @SapeNeCo! If you want to just use OpenWISP, I suggest you deploy it using the ansible-openwisp2 role. The OpenWISP WiFi Login Pages allows customizing the UI. You can deploy that using the ansible-openwisp-wifi-login-pages role. You can only implement a frontend for RADIUS (OpenWISP WiFi Login Pages), and deploy the controller with RADIUS using the ansible-openwisp2 role. How did you install openwisp-controller and openwisp-radius? |
Beta Was this translation helpful? Give feedback.
The information published on https://openwisp.io/docs/__new__/ is the result of the work we're doing to unify the OpenWISP documentation in a single place, the information is not different, it's mostly the same, revisited, improved and updated here and there. I've been announcing and explaining this often in the general chat, but we haven't published it on the website yet, so I am not sure how you found that link and how you came to the conclusion the guides are fundamentally different? Regarding "a complete guide to using OpenWISP", that's exactly what we are working on with the unified docs. It's 450+ pages and a few modules are still missing, but nonetheless linked in there, so there's…