<commit_before># -*- coding: utf-8 -*-
"""
societies.admin
~~~~~~~~~~~~~~~

:copyright: (c) 2014 <NAME> <http://christopherdavis.me>
:license: Proprietary
"""

from django.contrib import admin
from .models import GuitarSociety


class GuitarSocietyAdmin(admin.ModelAdmin):
    """
    Customizes some display things for guitar societies in the admin area.

    .. versionadded:: 0.1
    """
    list_display = ('name', 'link',)


admin.site.register(GuitarSociety, GuitarSocietyAdmin)<commit_msg>Put issues in the admin area<commit_after># -*- coding: utf-8 -*-
"""
societies.admin
~~~~~~~~~~~~~~~

:copyright: (c) 2014 <NAME> <http://christopherdavis.me>
:license: Proprietary
"""

from django.contrib import admin
from .models import GuitarSociety, Issue


class IssueInline(admin.TabularInline):
    model = Issue
    extra = 0
    readonly_fields = ('created',)


class GuitarSocietyAdmin(admin.ModelAdmin):
    """
    Customizes some display things for guitar societies in the admin area.

    .. versionadded:: 0.1
    """
    list_display = ('name', 'link',)
    inlines = [IssueInline]


admin.site.register(GuitarSociety, GuitarSocietyAdmin)
{'fraction_non_alphanumeric': 0.1529105125977411, 'fraction_numerical': 0.013032145960034752, 'mean_word_length': 4.142857142857143, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2836806', 'n_tokens_mistral': 384, 'n_tokens_neox': 354, 'n_words': 93}