<commit_before>About
-----

An way to globally disable writes to your database. This works by
inserting a cursor wrapper between Django's ``CursorWrapper`` and the
database connection's cursor wrapper. So many cursor wrappers!

Installation
------------

I uploaded it to
`PyPi <http://pypi.python.org/pypi/django-db-readonly/>`_, so you can
grab it there if you'd like with

::

    pip install django-db-readonly

or install with pip the git address:

::

    pip install git+git@github.com:streeter/django-db-readonly.git

You're choice. Then add ``readonly`` to your ``INSTALLED_APPS``.

::

    INSTALLED_APPS = (
        # ...<commit_msg>People should install from PyPI.<commit_after>About
-----

An way to globally disable writes to your database. This works by
inserting a cursor wrapper between Django's ``CursorWrapper`` and the
database connection's cursor wrapper. So many cursor wrappers!

Installation
------------

The library is hosted on
`PyPi <http://pypi.python.org/pypi/django-db-readonly/>`_, so you can
grab it there with::

    pip install django-db-readonly

Then add ``readonly`` to your ``INSTALLED_APPS``.::

    INSTALLED_APPS = (
        # ...
{'fraction_non_alphanumeric': 0.12372013651877133, 'fraction_numerical': 0.0, 'mean_word_length': 3.3444444444444446, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '5763656', 'n_tokens_mistral': 369, 'n_tokens_neox': 335, 'n_words': 128}