Incorporating a password toggle feature has become quite the challenge as I extend Django's AuthenticationForm to create my UserLoginForm. Attempting to implement this feature has proven difficult, especially since I have been unable to make use of the 'data-toggle' attribute within my form. Despite referencing examples like this, it seems that directly toggling functionality through the "id" of the element is not an option given my current setup. Utilizing Bootstrap5 further adds to the complexity. How can I successfully introduce password toggle functionality in light of these constraints?