source: WAeUP_SRP/base/skins/waeup_academics/getCertificatesDict.py @ 3702

Last change on this file since 3702 was 3499, checked in by Henrik Bettermann, 16 years ago

use certificates_catalog

File size: 301 bytes
RevLine 
[3499]1# $Id: getCertificatesDict.py 3254 2008-02-28 13:06:20Z joachim $
[3339]2"""
[3346]3"""
[3339]4
[3499]5res = context.certificates_catalog()
[3346]6dict = {}
[3339]7
[3346]8for d in res:
[3499]9    if not d.study_mode:
[3346]10        continue
[3499]11    dict[d.code] = {'title': d.title,
12                     'study_mode': d.study_mode,
[3346]13                     }
14return dict
Note: See TracBrowser for help on using the repository browser.