<commit_before># -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals

from django import forms
from django.contrib import admin
#from django.contrib.auth.forms import ServiceChangeForm, ServiceCreationForm
#from .models import Service
#
#
#class MyServiceChangeForm(ServiceChangeForm):
#    class Meta(ServiceChangeForm.Meta):
#        model = Service
#
#
#class MyServiceCreationForm(ServiceCreationForm):
#
#    class Meta(ServiceCreationForm.Meta):
#        model = Service
#
#    def clean_title(self):
#        title = self.cleaned_data["title"]
#        try:
#            Service.objects.get(title=title)
#        except Service.DoesNotExist:
#            return title
#        raise forms.ValidationError(self.error_messages['duplicate_title'])
#
#
#@admin.register(Service)
#class MyServiceAdmin(AuthServiceAdmin):
#    form = MyServiceChangeForm
#    add_form = MyServiceCreationForm
#    fieldsets = (
#            ('Service Profile', {'fields': ('name',)}),
#    ) + AuthServiceAdmin.fieldsets
#    list_display = ('title', 'date', 'is_superService')
#    search_fields = ['title']<commit_msg>Basic Service Admin working<commit_after># -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals

from django import forms
from django.contrib import admin
from .models import Service


@admin.register(Service)
class ServiceAdmin(admin.ModelAdmin):
    pass

{'fraction_non_alphanumeric': 0.11386138613861387, 'fraction_numerical': 0.0014144271570014145, 'mean_word_length': 4.1454545454545455, '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': '462532', 'n_tokens_mistral': 403, 'n_tokens_neox': 399, 'n_words': 94}