equal
deleted
inserted
replaced
58 is_developer = forms.BooleanField(required=False, |
58 is_developer = forms.BooleanField(required=False, |
59 label=soc.models.user.User.is_developer.verbose_name, |
59 label=soc.models.user.User.is_developer.verbose_name, |
60 help_text=soc.models.user.User.is_developer.help_text) |
60 help_text=soc.models.user.User.is_developer.help_text) |
61 |
61 |
62 class Meta: |
62 class Meta: |
|
63 """Inner Meta class that defines some behavior for the form. |
|
64 """ |
63 model = None |
65 model = None |
64 |
66 |
65 def clean_link_id(self): |
67 def clean_link_id(self): |
66 link_id = self.cleaned_data.get('link_id') |
68 link_id = self.cleaned_data.get('link_id') |
67 if not validate.isLinkIdFormatValid(link_id): |
69 if not validate.isLinkIdFormatValid(link_id): |