Python Dropdown Menu Not Working When Implementing With Django

Python Dropdown Menu Not Working When Implementing With Django