Changeset 3951


Ignore:
Timestamp:
9 Feb 2009, 22:07:02 (16 years ago)
Author:
uli
Message:

Make studentcontainer a real Grok object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/student/studentcontainer.py

    r3947 r3951  
    11import grok
    22import os
    3 
    4 from waeup.basecontainer import BaseContainer
    53from waeup.interfaces import IStudentContainer
    6 from student import Student, fromCsv
    74from waeup.utils import importexport as csv
    85
    9 class StudentContainer(BaseContainer):
     6class StudentContainer(grok.Container):
    107    """
    118    The node containing the student models
     
    1411    grok.implements(IStudentContainer)
    1512   
    16     name = u"Students"
    17     childClass = Student
    18     specialActions = [u"import", u"export"]   
    19 
    20 
    2113   
    2214class Import(grok.View):
Note: See TracChangeset for help on using the changeset viewer.