comparison rhodecode/model/forms.py @ 1159:187a924ed653 beta

Changes for repo groups
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 19 Mar 2011 18:52:27 +0100
parents 6d0a7284949d
children 6832ef664673
comparison
equal deleted inserted replaced
1158:f63cc1cbce27 1159:187a924ed653
456 allow_extra_fields = True 456 allow_extra_fields = True
457 filter_extra_fields = False 457 filter_extra_fields = False
458 repo_name = All(UnicodeString(strip=True, min=1, not_empty=True), 458 repo_name = All(UnicodeString(strip=True, min=1, not_empty=True),
459 ValidRepoName(edit, old_data)) 459 ValidRepoName(edit, old_data))
460 clone_uri = UnicodeString(strip=True, min=1, not_empty=False) 460 clone_uri = UnicodeString(strip=True, min=1, not_empty=False)
461 repo_group = OneOf(repo_groups) 461 repo_group = OneOf(repo_groups, hideList=True)
462 repo_type = OneOf(supported_backends) 462 repo_type = OneOf(supported_backends)
463 description = UnicodeString(strip=True, min=1, not_empty=True) 463 description = UnicodeString(strip=True, min=1, not_empty=True)
464 private = StringBoolean(if_missing=False) 464 private = StringBoolean(if_missing=False)
465 enable_statistics = StringBoolean(if_missing=False) 465 enable_statistics = StringBoolean(if_missing=False)
466 enable_downloads = StringBoolean(if_missing=False) 466 enable_downloads = StringBoolean(if_missing=False)