Changeset 9162 for main/waeup.kofa


Ignore:
Timestamp:
6 Sep 2012, 12:00:15 (12 years ago)
Author:
Henrik Bettermann
Message:

Add pre-studies level.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/vocabularies.py

    r9135 r9162  
    5151    else:
    5252        # default level range
    53         levels = [level for level in range(100,1000,10) if level % 100 < 30]
     53        levels = [10, ]
     54        levels += [level for level in range(100,1000,10) if level % 100 < 30]
    5455        levels.append(999)
    5556    return levels
     
    7677        else:
    7778            # default level range
    78             start_level = 100
     79            start_level = 10
    7980            end_level = 1000
    8081        if start_level == 999 or end_level == 999:
Note: See TracChangeset for help on using the changeset viewer.