Django user registration form not showing properly

I am making a Django project where there are two types of users customer and restaurant. Both can register separately. Everything is running fine except that I cannot add CSS class to password field and there are warning showing around password field which I don’t how they are coming. Models.py Forms.py soryy for bad code pasting.Just for clarification class ‘CustomerSignupform’ is parent class. Views.py Register User View So I have got similar problem for restaurant registration. Thank You Answer Could you try this. I think somehow it will help you.