'Can't use swagger in Django 4.0?

After installing Django 4.0 and configuring swagger, 'TypeError: 'set' object is not reversible' occurs. Is it possible that Django 4.0 can't use swagger?

enter link description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source