<commit_before>.. image:: https://travis-ci.org/gabriel-card/saveall.svg?branch=master
    :target: https://travis-ci.org/gabriel-card/saveall
.. image:: https://coveralls.io/repos/github/gabriel-card/saveall/badge.svg
    :target: https://coveralls.io/r/gabriel-card/saveall

django-saveall
--------------

custom django-admin command for saving model instances throughout a project
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

`Changelog`_.
^^^^^^^^^
.. _relative link: CHANGELOG.md

Requirements:
^^^^^^^^^^^^^

-  Python == 2.7
-  django == 1.7.7 to 1.8.11

How to install:
^^^^^^^^^^^^^^^

-  Run ``pip install django-saveall``;
-  Add ``'saveall'`` to INSTALLED\_APPS inside your settings.py

How to use:
^^^^^^^^^^^

-  You can call the command using
   ``python manage.py saveall <app.Model>`` or
   ``python manage.py saveall --<option> <args>``;
-  Options available:
-  ``--app <app_name>``: accepts multiple arguments, saves all instances
   from all models inside specific app(s);
-  ``--all``: accepts no arguments, saves all instances from all models
   inside project;

Saving instances from specific models:<commit_msg>corrects README linking changelog<commit_after>.. image:: https://travis-ci.org/gabriel-card/saveall.svg?branch=master
    :target: https://travis-ci.org/gabriel-card/saveall
.. image:: https://coveralls.io/repos/github/gabriel-card/saveall/badge.svg
    :target: https://coveralls.io/r/gabriel-card/saveall

django-saveall
--------------

custom django-admin command for saving model instances throughout a project
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Changelog_.
^^^^^^^^^
.. _Changelog: CHANGELOG.md

Requirements:
^^^^^^^^^^^^^

-  Python == 2.7
-  django == 1.7.7 to 1.8.11

How to install:
^^^^^^^^^^^^^^^

-  Run ``pip install django-saveall``;
-  Add ``'saveall'`` to INSTALLED\_APPS inside your settings.py

How to use:
^^^^^^^^^^^

-  You can call the command using
   ``python manage.py saveall <app.Model>`` or
   ``python manage.py saveall --<option> <args>``;
-  Options available:
-  ``--app <app_name>``: accepts multiple arguments, saves all instances
   from all models inside specific app(s);
-  ``--all``: accepts no arguments, saves all instances from all models
   inside project;

Saving instances from specific models:
{'fraction_non_alphanumeric': 0.2348936170212766, 'fraction_numerical': 0.007659574468085106, 'mean_word_length': 4.0127931769722816, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 8, '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': '1391763', 'n_tokens_mistral': 764, 'n_tokens_neox': 744, 'n_words': 195}