app/soc/views/models/document.py
changeset 569 96d9655a7538
parent 554 68c7a1dd3c52
child 584 ba8a624506e5
equal deleted inserted replaced
568:6713617751b4 569:96d9655a7538
    50 
    50 
    51   class Meta:
    51   class Meta:
    52     model = soc.models.document.Document
    52     model = soc.models.document.Document
    53 
    53 
    54     #: list of model fields which will *not* be gathered by the form
    54     #: list of model fields which will *not* be gathered by the form
    55     exclude = ['inheritance_line', 'author', 'created', 'modified', 'scope']
    55     exclude = ['author', 'created', 'modified', 'scope']
    56 
    56 
    57   def clean_scope_path(self):
    57   def clean_scope_path(self):
    58     scope_path = self.cleaned_data.get('scope_path')
    58     scope_path = self.cleaned_data.get('scope_path')
    59     # TODO(tlarsen): combine path and link_id and check for uniqueness
    59     # TODO(tlarsen): combine path and link_id and check for uniqueness
    60     if not validate.isScopePathFormatValid(scope_path):
    60     if not validate.isScopePathFormatValid(scope_path):