• 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
..
management Loading commit data...
migrations Loading commit data...
templatetags Loading commit data...
__init__.py Loading commit data...
admin.py Loading commit data...
context_processors.py Loading commit data...
decorators.py Loading commit data...
fields.py Loading commit data...
forms.py Loading commit data...
middleware.py Loading commit data...
models.py Loading commit data...
tests.py Loading commit data...
urls.py Loading commit data...
views.py Loading commit data...