<commit_before>from django.contrib import admin

# Register your models here.
<commit_msg>Implement admin panel<commit_after>from django.contrib import admin
from django import forms
from django.utils.translation import ugettext_lazy as _

from ovp_users.models import User


class UserAdmin(admin.ModelAdmin):
  fields = [
    ('id', 'name', 'email'), 'slug', 'phone',
    ('is_staff','is_superuser','is_active','is_email_verified',)
    ]

  list_display = [
    'id', 'email', 'name', 'last_login', 'is_active', 'is_staff', 'is_email_verified'
    ]

  list_filter = [
    'is_active', 'is_staff', 'last_login', 'joined_date'
    ]

  list_editable = [
    'is_active', 'is_staff', 'is_email_verified'
    ]

  search_fields = [
    'email', 'name'
    ]

  readonly_fields = ['id']
  raw_id_fields = []


admin.site.register(User, UserAdmin)



{'fraction_non_alphanumeric': 0.14150943396226415, 'fraction_numerical': 0.0, 'mean_word_length': 4.2407407407407405, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '306297', 'n_tokens_mistral': 299, 'n_tokens_neox': 291, 'n_words': 61}