Accessing key field into Django Template
There are 2 solutions:

You should filter the data before passing it into view
You can write additional function in model for retrieving the key if it`s not a field already

Can you explain exactly what is **__key__** ?
How can I access key field of model into django template?