2👍
✅
I found the problem. I’ve edited the lines as below.
def url(self, instance):
as
def url(self,request,instance):
Source:stackexchange.com
2👍
I found the problem. I’ve edited the lines as below.
def url(self, instance):
as
def url(self,request,instance):