<commit_before>Admin
=====

.. module:: treebeard.admin

.. autoclass:: TreeAdmin
   :show-inheritance:

   Example::

        from django.contrib import admin
        from treebeard.admin import TreeAdmin
        from treebeard.forms import movenodeform_factory
        from myproject.models import MyNode
<commit_msg>More explicitly defining python code block in admin docs<commit_after>Admin
=====

.. module:: treebeard.admin

.. autoclass:: TreeAdmin
   :show-inheritance:

   Example:

   .. code-block:: python

        from django.contrib import admin
        from treebeard.admin import TreeAdmin
        from treebeard.forms import movenodeform_factory
        from myproject.models import MyNode

{'fraction_non_alphanumeric': 0.07920792079207921, 'fraction_numerical': 0.0, 'mean_word_length': 3.045714285714286, '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': '4282826', 'n_tokens_mistral': 199, 'n_tokens_neox': 188, 'n_words': 56}