app/soc/views/models/user.py
changeset 629 492df53e4a0f
parent 623 01757248f7c3
child 650 33b6dcae5615
equal deleted inserted replaced
628:6685c7b56d50 629:492df53e4a0f
    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):