1👍
✅
Do the sorting in the view, using a custom key function.
data.sort(key=lambda d: '0' if d['name'] == 'All names' else d['name'])
Source:stackexchange.com
1👍
Do the sorting in the view, using a custom key function.
data.sort(key=lambda d: '0' if d['name'] == 'All names' else d['name'])