17👍
✅
You are overriding django reverse method with this line of code:
from audioop import reverse
to use django’s reverse you should import it:
from django.urls import reverse
also if you still need audioop’s reverse you can use synonym with as
syntax:
from audioop import reverse as audio_reverse
Source:stackexchange.com