aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/model/forms.py
diff options
context:
space:
mode:
authorMarcin Kuzminski <marcin@python-works.com>2010-12-05 15:47:49 +0100
committerMarcin Kuzminski <marcin@python-works.com>2010-12-05 15:47:49 +0100
commitd29feac9fea564c5d15d7d6c285010f4a1466591 (patch)
tree17a91231e317941d0229243edd3dee2f5885b8b2 /rhodecode/model/forms.py
parent9e62123d7368999269004ec14558a7dc930d6bac (diff)
fixes #62, added option to disable statistics for each repository
--HG-- branch : beta
Diffstat (limited to 'rhodecode/model/forms.py')
-rw-r--r--rhodecode/model/forms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rhodecode/model/forms.py b/rhodecode/model/forms.py
index 5ed32036..63b8394a 100644
--- a/rhodecode/model/forms.py
+++ b/rhodecode/model/forms.py
@@ -400,6 +400,7 @@ def RepoForm(edit=False, old_data={}, supported_backends=BACKENDS.keys()):
ValidRepoName(edit, old_data))
description = UnicodeString(strip=True, min=1, not_empty=True)
private = StringBoolean(if_missing=False)
+ enable_statistics = StringBoolean(if_missing=False)
repo_type = OneOf(supported_backends)
if edit:
user = All(Int(not_empty=True), ValidRepoUser)