X
X
xxx2018-04-11 15:08:55
Django
xxx, 2018-04-11 15:08:55

Custom add condition for json in admin panel?

Json arrives, in the admin panel you need the ability to somehow filter it by a condition that you can add yourself.
Let's say if
{"Key1" : "Value1", "Key2" : "Value2"} arrived
In the admin panel, you need a field so that you can write if .get('Key1') > .get('Key2') then some function
Or how to do it better, please tell me, because otherwise in the first case, as I understand it, I will have to write an engine to process the condition from the admin panel.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question