On Thursday, August 9, 2012 10:39:07 AM UTC+3, mapapage wrote: > > I'm working with a legacy database so I should use another model (Owners) >> instead of the default Djangoconstrib.auth.models.User for >> authentication. >> > That's why I wrote my own and custom authentication backend. > >> My model has an id field (id = models.DecimalField(...)) that is used >> for username and a field for password(password = models.CharField(...)) >> > What's more, the password that is stored in the Owners.password is not an > encrypted string but plain text and when I use if > user.check_password(password): I get > Unknown password hashing algorithm '123'. Did you specify it in the > PASSWORD_HASHERS setting? That seems to be some kind of > bug<https://code.djangoproject.com/ticket/18182#comment:8> > . > If I didn't misunderstood sth, I don't know what to do and therefore I'm > asking for a guideline.. >
-- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/WmODCM0Zj2sJ. To post to this group, send email to django-users@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.