Source code for oioioi.su.models

from django.contrib.auth.backends import ModelBackend
from django.utils.translation import gettext_lazy as _

# Modify django default backend to meet our needs
[docs]ModelBackend.supports_authentication = True
[docs]ModelBackend.description = _("Password authentication")