Changeset 4454


Ignore:
Timestamp:
27 Jul 2009, 23:59:18 (15 years ago)
Author:
uli
Message:

Remove content viewlet from coursecontainer. We don't need it
currently.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/university/coursecontainer.py

    r4452 r4454  
    3939        return implementedBy(CourseContainer)
    4040
    41 class DisplayForm(grok.DisplayForm):
    42     grok.context(ICourseContainer)
    43     form_fields = grok.AutoFields(ICourseContainer)
    44 
    45    
    46 class Content(FormWrapMixin, grok.Viewlet):
    47     """A viewlet that wraps the `AddDepartmentForm`.
    48     """
    49     grok.viewletmanager(MainArea)
    50     grok.context(ICourseContainer)
    51     grok.view(Index)
    52     grok.require('waeup.manageUniversity')
    53 
    54     formview_name = 'displayform' # The name of the formview we want
    55                                   # to be rendered in this viewlet.
    5641
    5742class ManageForm(grok.EditForm):
Note: See TracChangeset for help on using the changeset viewer.