Skip to content

Commit

Permalink
md -> rst, 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
barbuza committed May 17, 2016
1 parent a646e91 commit 4fffc08
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 40 deletions.
39 changes: 0 additions & 39 deletions README.md

This file was deleted.

52 changes: 52 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
django-robust |Build Status| |Coverage Status|
==============================================

install
-------

.. code:: shell
$ pip install django-robust
.. code:: python
INSTALLED_APPS = ('robust', )
DB = {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
}
DATABASES = {
'default': DB,
'robust_ratelimit': DB # <- same db
}
define tasks
------------

.. code:: python
from robust import task
@task()
def heavy_stuff(foo):
pass
schedule tasks
--------------

.. code:: python
from .tasks import heavy_stuff
heavy_stuff.delay(foo='bar')
execute tasks
-------------

.. code:: shell
$ ./manage.py robust_worker
.. |Build Status| image:: https://travis-ci.org/barbuza/django-robust.svg?branch=master
:target: https://travis-ci.org/barbuza/django-robust
.. |Coverage Status| image:: https://coveralls.io/repos/github/barbuza/django-robust/badge.svg?branch=master
:target: https://coveralls.io/github/barbuza/django-robust?branch=master
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='django-robust',
version='0.1.1',
version='0.1.2',
description='robust background queue for django',
author='Victor Kotseruba',
author_email='barbuzaster@gmail.com',
Expand Down

0 comments on commit 4fffc08

Please sign in to comment.