-
Notifications
You must be signed in to change notification settings - Fork 48
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] Extend openwisp-users #82 #86
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, is anything missing?
Oh yes, the we discussed we should be adding a |
8047e7a
to
da9ccc9
Compare
ecb703d
to
ca30016
Compare
49eb131
to
66bb591
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Is there any integration we can do to the README? I see no line of docs is updated, may be good to at least mention something about this? Eg: we do this to test the integration and extension of openwisp-users but it is not required. Something like that or if you have any other idea about what may be useful for users of this module, please add it.
@atb00ker can you take a look at this please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very clean work, I like it. 😊
Some questions:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @atb00ker for the review, do you think we can merge?
I think we should take care of Integration tests first! 😄 @devkapilbansal , as mentioned by Fed, integration tests are important. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rebase on the current master
6a0442a
to
1407d3c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the changes look good if we don't need the integration tests! 😄
@atb00ker do I have to make some changes to README too as mentioned here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@atb00ker do I have to make some changes to README too as mentioned here
Oops, I thought, I already commented about that.
Can you look at openwisp-radius here: https://openwisp-radius.readthedocs.io/en/latest/developer/how_to_extend.html?highlight=sample_users#extending-openwisp-radius
If you want to add new users fields, please follow the tutorial to extend the openwisp-users. As an example, we have extended openwisp-users to sample_users app and added a field social_security_number in the sample_users/models.py.
This should enable user to get started with extending user! 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
** Change in README required as suggested: #86 (review)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @devkapilbansal
Closes #82