<commit_before>[![Build Status](https://travis-ci.org/defrex/django-after-response.png)](https://travis-ci.org/defrex/django-after-response)

### Django After Response

Simple asynchronous execution.

Tools like [Celery](http://celeryproject.org/) are great, but often they are
overpowered for the task at hand, and come with lots of requirements like
daemons and task queues.

After Response is a simple alternative. It will execute code after the
request is complete, but do it in the current process and thread.

### Usage

    $ pip install django-after-response

Add `after_response` to your `INSTALLED_APPS`

    INSTALLED_APPS = (
        ...<commit_msg>remove claim to run in the main thread from the README<commit_after>[![Build Status](https://travis-ci.org/defrex/django-after-response.png)](https://travis-ci.org/defrex/django-after-response)

### Django After Response

Simple asynchronous execution.

Tools like [Celery](http://celeryproject.org/) are great, but often they are
overpowered for the task at hand, and come with lots of requirements like
daemons and task queues.

After Response is a simple alternative. It will execute code after the
request is complete, without the need for additional daemons or task queues.

### Usage

    $ pip install django-after-response

Add `after_response` to your `INSTALLED_APPS`

    INSTALLED_APPS = (
        ...
{'fraction_non_alphanumeric': 0.09461426491994178, 'fraction_numerical': 0.0, 'mean_word_length': 4.188679245283019, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '5945220', 'n_tokens_mistral': 409, 'n_tokens_neox': 386, 'n_words': 146}