-
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
[admin] Added menu items #37 #75
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.
Now you can update openwisp-utils in requirements.txt and requirements-test.txt to 0.7.0
and the build should be fixed.
Updating openwisp-users is required for fixing the build. Waiting for this openwisp/openwisp-users#189 to be merged. |
cb4fa9e
to
a0f804d
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.
@codesankalp, looks good, could you add a simple admin test that check for the presence of the two menu links please?
Take a look at these tests if you're not familiar with admin tests: https://github.com/openwisp/openwisp-ipam/blob/master/openwisp_ipam/tests/test_admin.py.
Added menu items (openwisp-utils menu) for Subnet and IpAdress models. Added test for menu items in test_admin.py Also updated openwisp-utils and openwisp-users dependency in requirements files. Fixes openwisp#37
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.
Good work! Thanks 👍
Added menu items (openwisp-utils menu) for Subnet and IpAdress models.
This is WIP PR which requires the new version release of openwisp-utils.
Fixes #37