Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Pinterest hacked?. Parent comment
Adding a change password function to a custom model is too trivial
class MyUser(models.Model): password = models.CharField(max_length=128) set_password = django.contrib.auth.models.User.set_password.__func__ check_password = django.contrib.auth.models.User.check_password.__func__
There are no comments on this comment yet.
Adding a change password function to a custom model is too trivial
And you can do with your instance with set_password() or check_password() like Django's admin User.