Last change
on this file since 3797 was
3523,
checked in by uli, 16 years ago
|
Fix package name.
|
-
Property svn:eol-style set to
native
|
File size:
868 bytes
|
Line | |
---|
1 | The waeup package |
---|
2 | ******************** |
---|
3 | |
---|
4 | :Test-Layer: unit |
---|
5 | |
---|
6 | A portal software for student registration. |
---|
7 | |
---|
8 | Universities |
---|
9 | ============ |
---|
10 | |
---|
11 | ``University`` objects are the base of all functionality provided by |
---|
12 | this package. They contain all facilities of a university. |
---|
13 | |
---|
14 | We can easily create universities:: |
---|
15 | |
---|
16 | >>> from waeup.app import University |
---|
17 | >>> u = University() |
---|
18 | >>> u |
---|
19 | <waeup.app.University object at 0x...> |
---|
20 | |
---|
21 | Universities have a name. |
---|
22 | |
---|
23 | >>> u.name |
---|
24 | u'Unnamed' |
---|
25 | |
---|
26 | Universities are basically also containers for faculties. |
---|
27 | |
---|
28 | Faculties |
---|
29 | ========= |
---|
30 | |
---|
31 | Faculties are containers for departments. They are intended to be |
---|
32 | managed by universities. |
---|
33 | |
---|
34 | We can create faculties easily:: |
---|
35 | |
---|
36 | >>> from waeup.app import Faculty |
---|
37 | >>> f = Faculty() |
---|
38 | >>> f |
---|
39 | <waeup.app.Faculty object at 0x...> |
---|
40 | |
---|
41 | Also faculties want to be named:: |
---|
42 | |
---|
43 | >>> f.name |
---|
44 | u'Unnamed Faculty' |
---|
45 | |
---|
46 | Departments |
---|
47 | =========== |
---|
48 | |
---|
Note: See
TracBrowser for help on using the repository browser.