Return package names as list, from "about" page from API
so client knows in what order to display package versions
This commit is contained in:
parent
c95008703c
commit
c9cf59762a
|
@ -54,10 +54,12 @@ class CommonView(APIView):
|
|||
"""
|
||||
Generic view to show "about project" info page.
|
||||
"""
|
||||
packages = self.get_packages()
|
||||
return {
|
||||
'project_title': self.get_project_title(),
|
||||
'project_version': self.get_project_version(),
|
||||
'packages': self.get_packages(),
|
||||
'packages': packages,
|
||||
'package_names': list(packages),
|
||||
}
|
||||
|
||||
def get_project_title(self):
|
||||
|
|
Loading…
Reference in a new issue