Django serializer call a function
<p>I have:</p>

<pre><code>class ProfileSerializer(serializers.ModelSerializer):
    relevence = ??
</code></pre>

<p>The thing is I want to call <code>relevance</code> as a separate function.
I do not want to write it as a serializer method field nor under a model, can it be done?</p>