Mercurial > kallithea
diff rhodecode/model/forms.py @ 962:72f008ed9b18 beta
implemented #84 downloads can be enabled/disabled per each repository from now.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 26 Jan 2011 18:37:42 +0100 |
parents | 029e69f0d21d |
children | 2c8fd84935a4 |
line wrap: on
line diff
--- a/rhodecode/model/forms.py Wed Jan 26 18:35:13 2011 +0100 +++ b/rhodecode/model/forms.py Wed Jan 26 18:37:42 2011 +0100 @@ -447,6 +447,7 @@ description = UnicodeString(strip=True, min=1, not_empty=True) private = StringBoolean(if_missing=False) enable_statistics = StringBoolean(if_missing=False) + enable_downloads = StringBoolean(if_missing=False) repo_type = OneOf(supported_backends) if edit: user = All(Int(not_empty=True), ValidRepoUser)