app/soc/views/models/site_settings.py
changeset 513 3c1e16637ad7
parent 512 aae25d2b4464
equal deleted inserted replaced
512:aae25d2b4464 513:3c1e16637ad7
    50     """
    50     """
    51     #: db.Model subclass for which the form will gather information
    51     #: db.Model subclass for which the form will gather information
    52     model = soc.models.site_settings.SiteSettings
    52     model = soc.models.site_settings.SiteSettings
    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', 'home', 'partial_path', 'link_id']
    55     exclude = ['inheritance_line', 'home', 'scope_path', 'link_id']
    56 
    56 
    57   partial_path = forms.CharField(widget=forms.HiddenInput)
    57   scope_path = forms.CharField(widget=forms.HiddenInput)
    58 
    58 
    59   link_id = forms.CharField(widget=forms.HiddenInput)
    59   link_id = forms.CharField(widget=forms.HiddenInput)
    60 
    60 
    61 
    61 
    62 class EditForm(CreateForm):
    62 class EditForm(CreateForm):