app/soc/views/models/site.py
changeset 808 0cab5492f458
parent 799 30a912906a57
child 858 e79e7a22326f
equal deleted inserted replaced
807:b6db9fb1246d 808:0cab5492f458
    43     """
    43     """
    44     #: db.Model subclass for which the form will gather information
    44     #: db.Model subclass for which the form will gather information
    45     model = soc.models.site.Site
    45     model = soc.models.site.Site
    46 
    46 
    47     #: list of model fields which will *not* be gathered by the form
    47     #: list of model fields which will *not* be gathered by the form
    48     exclude = ['home', 'scope', 'scope_path', 'link_id']
    48     exclude = ['scope', 'scope_path', 'link_id',
       
    49       # TODO(tlarsen): this needs to be enabled once a button to a list
       
    50       #   selection "interstitial" page is implemented, see:
       
    51       #     http://code.google.com/p/soc/issues/detail?id=151
       
    52       'home', 'tos']
    49 
    53 
    50   link_id = forms.CharField(widget=forms.HiddenInput)
    54   link_id = forms.CharField(widget=forms.HiddenInput)
    51 
    55 
    52 
    56 
    53 class EditForm(CreateForm):
    57 class EditForm(CreateForm):