diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-05-29 20:51:42 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-05-29 20:51:42 +0100 |
commit | fa2f17526f0999c5081cae577903efef9111a4be (patch) | |
tree | fc6bfc0a75fa3ca1acac38d4fd8b742122c61d5b /app/models.py | |
parent | 002e6828b66587a58dbae15aef33b14d3d6d0fc5 (diff) | |
download | cheatdb-fa2f17526f0999c5081cae577903efef9111a4be.tar.xz |
Disable edit requests
Diffstat (limited to 'app/models.py')
-rw-r--r-- | app/models.py | 25 |
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: |