• Vladimir Mencl's avatar
    AllServicePoints: fix JSON export missing data · 3a60a4c0
    Vladimir Mencl authored
    The get_all_services() view is missing the 'name' key from the exported JSON entries.
    
    This got (presumably accidentally) introduced in 7f1f9f3b.
    
    The 'name' now gets exported only if the 'inst' export threw an exception.
    
    Fix the export for 'inst' and 'name' keys to consistently try the current
    language, then 'en', then set the value to 'unknown'
    3a60a4c0
Name
Last commit
Last update
accounts Loading commit data...
djangobackends Loading commit data...
djnro Loading commit data...
docs Loading commit data...
edumanage Loading commit data...
extras Loading commit data...
front Loading commit data...
initial_data Loading commit data...
locale Loading commit data...
static Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Changelog Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
__init__.py Loading commit data...
_version.py Loading commit data...
manage.py Loading commit data...
mkdocs.yml Loading commit data...
requirements-optional.txt Loading commit data...
requirements.txt Loading commit data...
upgrade-from-0.8-notes.txt Loading commit data...