Changeset 3833


Ignore:
Timestamp:
1 Jan 2009, 16:50:31 (16 years ago)
Author:
uli
Message:

Update tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/README.txt

    r3523 r3833  
    55
    66A portal software for student registration.
     7
     8Prerequisites
     9=============
     10
     11Before we can work with the environment, we have to register all the
     12utilities, adapters, etc. We grok the `waeup` package to do that::
     13
     14  >>> import grok
     15  >>> grok.testing.grok('waeup')
    716
    817Universities
     
    2433  u'Unnamed'
    2534
    26 Universities are basically also containers for faculties.
     35Universities are basically also containers for faculties, students and
     36hostels::
     37
     38  >>> u['faculties']
     39  <waeup.university.facultycontainer.FacultyContainer object at 0x...>
     40
     41  >>> u['students']
     42  <waeup.students.studentcontainer.StudentContainer object at 0x...>
     43
     44  >>> u['hostels']
     45  <waeup.hostel.hostelcontainer.HostelContainer object at 0x...>
    2746
    2847Faculties
     
    3453We can create faculties easily::
    3554
    36   >>> from waeup.app import Faculty
     55  >>> from waeup.university.faculty import Faculty
    3756  >>> f = Faculty()
    3857  >>> f
    39   <waeup.app.Faculty object at 0x...>
     58  <waeup.university.faculty.Faculty object at 0x...>
    4059
    4160Also faculties want to be named::
Note: See TracChangeset for help on using the changeset viewer.