aboutsummaryrefslogtreecommitdiff
path: root/app/models.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-29 20:51:42 +0100
committerrubenwardy <rw@rubenwardy.com>2018-05-29 20:51:42 +0100
commitfa2f17526f0999c5081cae577903efef9111a4be (patch)
treefc6bfc0a75fa3ca1acac38d4fd8b742122c61d5b /app/models.py
parent002e6828b66587a58dbae15aef33b14d3d6d0fc5 (diff)
downloadcheatdb-fa2f17526f0999c5081cae577903efef9111a4be.tar.xz
Disable edit requests
Diffstat (limited to 'app/models.py')
-rw-r--r--app/models.py25
1 files changed, 13 insertions, 12 deletions
diff --git a/app/models.py b/app/models.py
index 14ff3c7..368e59b 100644
--- a/app/models.py
+++ b/app/models.py
@@ -215,18 +215,19 @@ class PackageType(enum.Enum):
class PackagePropertyKey(enum.Enum):
- name = "Name"
- title = "Title"
- shortDesc = "Short Description"
- desc = "Description"
- type = "Type"
- license = "License"
- tags = "Tags"
- provides = "Provides"
- repo = "Repository"
- website = "Website"
- issueTracker = "Issue Tracker"
- forums = "Forum Topic ID"
+ name = "Name"
+ title = "Title"
+ shortDesc = "Short Description"
+ desc = "Description"
+ type = "Type"
+ license = "License"
+ media_license = "Media License"
+ tags = "Tags"
+ provides = "Provides"
+ repo = "Repository"
+ website = "Website"
+ issueTracker = "Issue Tracker"
+ forums = "Forum Topic ID"
def convert(self, value):
if self == PackagePropertyKey.tags: