Changeset 4232
- Timestamp:
- 9 Jun 2009, 08:55:05 (15 years ago)
- Location:
- waeup/branches/ulif-rewrite/src/waeup
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/browser.txt
r4151 r4232 95 95 We can view a faculty by browsing a URL like this:: 96 96 97 >>> browser.open('http://localhost/myuniversity/faculties/ 0')97 >>> browser.open('http://localhost/myuniversity/faculties/TF') 98 98 99 99 Afterwards, the faculty should be visible: … … 103 103 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 104 104 ...<h2>Registered faculties:</h2> 105 ...<a href="http://localhost/myuniversity/faculties/ 0">TestFac</a>105 ...<a href="http://localhost/myuniversity/faculties/TF">TestFac</a> 106 106 ... 107 107 -
waeup/branches/ulif-rewrite/src/waeup/university/faculty.txt
r4157 r4232 64 64 65 65 Each faculty holds a code, which might be a shortcut or abbreviation 66 of the real faculty name. By default the code is ``N one``:66 of the real faculty name. By default the code is ``NA`` (=not assigned): 67 67 68 >>> myfaculty.code is None69 True68 >>> myfaculty.code 69 u'NA' -
waeup/branches/ulif-rewrite/src/waeup/university/facultycontainer.txt
r4223 r4232 63 63 64 64 >>> mycontainer.addFaculty(myfaculty) 65 '0'66 65 67 66 We get back the key, under which the faculty was stored. It will be
Note: See TracChangeset for help on using the changeset viewer.