LuteOrg / lute-v3

LUTE = Learning Using Texts: learn languages through reading.
https://luteorg.github.io/lute-manual/
MIT License
487 stars 46 forks source link

Move language.all_dictionaries to repository #515

Open jzohrab opened 3 days ago

jzohrab commented 3 days ago

This method uses the implicit db.session which is being broken as part of #503.

To change:

lute/term/routes.py:        language_dicts=Language.all_dictionaries(),

lute/models/language.py:        for lang in Language.query.all():

tests/orm/test_Language.py:    assert json.dumps(Language.all_dictionaries()) == exp
jzohrab commented 3 days ago

Done in develop