-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
[feature] Added page to show OpenWISP versions #237 #363
Conversation
1375385
to
4f3672c
Compare
4f3672c
to
49ac68b
Compare
49ac68b
to
5db88c1
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, see my comments below for minor improvements.
openwisp_utils/admin_theme/admin.py
Outdated
@@ -38,6 +55,11 @@ def get_urls(self): | |||
self.admin_view(autocomplete_view.as_view(admin_site=self)), | |||
name='ow-auto-filter', | |||
), | |||
path( | |||
'ow-info/', |
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.
Why not something more readable? Eg:
'ow-info/', | |
'openwisp-system-info/', |
if package in EXTRA_OPENWISP_PACKAGES: | ||
extra_packages[package] = version | ||
continue | ||
package_name = package.replace("-", "_") |
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.
why are you using double quotes here? We generally use single quotes around the codebase.
Closes #273
Changes
Screenshots
Checklist