'value': LEVELS[CtnrUser.objects.get(
        user=user, ctnr=ctnr).level] if not user.is_superuser else 'Superuser',
 'url': ''
^ Meh, a little better. This is a weird one.
I tried to avoid deleting imports and stick to visual editing in this pull request.