<commit_before>from django.contrib import admin

# Register your models here.
from django import forms
from django.contrib import admin
from django.contrib.auth.models import Group
from django.contrib.auth.admin import UserAdmin
from django.contrib.auth.forms import ReadOnlyPasswordHashField

#from accounts.models import User, UserManager

#admin.site.register(UserManager, User)
# unregister the Group model from admin.
#admin.site.unregister(Group)

import simpleldap
from django.conf import settings
from django.contrib.auth.models import User, check_password

class LDAPBackend(object):
    """
    Authenticate via LDAP.

    Use the login name, and a hash of the password. For example:

    LDAP_HOST = "pekdc01.freewheelmedia.net"
    LDAP_DN = "cn=readonly,dc=freewheelmedia,dc=net"
    LDAP_PASSWORD = "<PASSWORD>"
    LDAP_BN = "ou=User Accounts,dc=freewheelmedia,dc=net"
    LDAP_UID = "cn={user}"
    """<commit_msg>update the docstring of accounts.admin<commit_after>from django.contrib import admin

# Register your models here.
from django import forms
from django.contrib import admin
from django.contrib.auth.models import Group
from django.contrib.auth.admin import UserAdmin
from django.contrib.auth.forms import ReadOnlyPasswordHashField

#from accounts.models import User, UserManager

#admin.site.register(UserManager, User)
# unregister the Group model from admin.
#admin.site.unregister(Group)

import simpleldap
from django.conf import settings
from django.contrib.auth.models import User, check_password

class LDAPBackend(object):
    """
    Authenticate via LDAP.

    Use the login name, and a hash of the password. For example:

    LDAP_HOST = "LDAP_HOST"
    LDAP_DN = "LDAP_DN"
    LDAP_PASSWORD = "<PASSWORD>"
    LDAP_BN = "LDAP_BN"
    LDAP_UID = "cn={user}"
    """
{'fraction_non_alphanumeric': 0.08476454293628809, 'fraction_numerical': 0.00110803324099723, 'mean_word_length': 4.661442006269592, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4366014', 'n_tokens_mistral': 540, 'n_tokens_neox': 537, 'n_words': 165}