source: WAeUP_SRP/trunk/skins/waeup_academics/getCertificatesDict.py @ 5600

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

use certificates_catalog

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