Hi, I've created a custom user class which is inherited from auth user class. I wanted some additional fields for my user model and at the mean time also wanted to use django's default backend so went for inheritence.
Here's how my models look like, class CustomUser(User): city = models.CharField("City", max_length=80, null=True, blank=True,) telephone = models.CharField("Telephone", max_length=80, null=True, blank=True,) After creating my Custom User class I then register it with the admin. Using, admin.site.register(CustomUser) then I log into admin console and add users to my model and I do not see the password getting entered in hidden form(eg.<input type="password">)but instead it is getting entered in usual visible form(I've set the is_staff status True). Corresponding entry goes into auth user table but then when i try to log in with the above custom user credentials into admin I cannot log in. Could anyone help me out as to where's the problem is?Any help will be appreciated. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.