<commit_before>.. _plugins_tutorial:

#######
Plugins
#######

In this tutorial we're going to take a basic Django opinion poll application and integrate it into
the CMS.


*********************************
Install the ``polls`` application
*********************************

Install the application from its GitHub repository using ``pip -e`` - this also places it in your virtualenv's ``src`` directory as a cloned Git repository::

    pip install -e git+http://git@github.com/divio/django-polls.git#egg=polls


You should end up with a folder structure similar to this::

    env/
        src/
            django-polls/<commit_msg>Use correct folder name in polls app example (#6018)<commit_after>.. _plugins_tutorial:

#######
Plugins
#######

In this tutorial we're going to take a basic Django opinion poll application and integrate it into
the CMS.


*********************************
Install the ``polls`` application
*********************************

Install the application from its GitHub repository using ``pip -e`` - this also places it in your virtualenv's ``src`` directory as a cloned Git repository::

    pip install -e git+http://git@github.com/divio/django-polls.git#egg=polls


You should end up with a folder structure similar to this::

    env/
        src/
            polls/
{'fraction_non_alphanumeric': 0.19201228878648233, 'fraction_numerical': 0.0030721966205837174, 'mean_word_length': 4.0115384615384615, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5498961', 'n_tokens_mistral': 360, 'n_tokens_neox': 324, 'n_words': 143}