Add ability to bulk change releases

This commit is contained in:
rubenwardy
2019-01-28 21:49:29 +00:00
parent 84b996c489
commit 5cd8b35d1f
5 changed files with 75 additions and 5 deletions

View File

@@ -481,6 +481,10 @@ class Package(db.Model):
return url_for("create_edit_editrequest_page",
author=self.author.username, name=self.name)
def getBulkReleaseURL(self):
return url_for("bulk_change_release_page",
author=self.author.username, name=self.name)
def getDownloadURL(self):
return url_for("package_download_page",
author=self.author.username, name=self.name)