Add package creation

This commit is contained in:
rubenwardy
2018-03-21 17:03:14 +00:00
parent 5cc49f2828
commit a8edae1da0
3 changed files with 21 additions and 9 deletions

View File

@@ -118,7 +118,7 @@ class Package(db.Model):
author=self.author.username, name=self.name)
def getEditURL(self):
return url_for("edit_package_page",
return url_for("create_edit_package_page",
type=self.type.toName(),
author=self.author.username, name=self.name)