I was successful using this method but, I want the repose code to be simpler.
Is there such a way?
The code is as follows:
views.py
class Per