Exemple #1
0
 def themes(cls):
     themes = []
     for f in settings.THEME_FINDERS:
         finder = get_class(f)
         themes.extend(finder.get_themes())
     #noinspection PyTypeChecker
     return dict([t.id, t] for t in themes)
Exemple #2
0
 def themes(cls):
     themes = []
     for f in settings.THEME_FINDERS:
         finder = get_class(f)
         themes.extend(finder.get_themes())
     return dict([t.id, t] for t in themes)
Exemple #3
0
 def themes(cls):
     themes = []
     for f in settings.THEME_FINDERS:
         finder = get_class(f)
         themes.extend(finder.get_themes())
     return dict([t.id, t] for t in themes)
Exemple #4
0
 def themes_by_finder(cls):
     themes = {}
     for f in settings.THEME_FINDERS:
         finder = get_class(f)
         themes[f] = finder.get_themes()
     return themes