mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-09 07:18:11 +08:00
Bump version and docs fixes (#21)
This commit is contained in:
+5
-1
@@ -27,7 +27,6 @@ Requirements
|
|||||||
|
|
||||||
- `Django <https://www.djangoproject.com>`__ > = 3.2
|
- `Django <https://www.djangoproject.com>`__ > = 3.2
|
||||||
- `Django-picklefield <https://github.com/gintas/django-picklefield>`__
|
- `Django-picklefield <https://github.com/gintas/django-picklefield>`__
|
||||||
- `Blessed <https://github.com/jquast/blessed>`__
|
|
||||||
|
|
||||||
Tested with: Python 3.7, 3.8, 3.9, 3.10 Django 3.2.X and 4.1.X
|
Tested with: Python 3.7, 3.8, 3.9, 3.10 Django 3.2.X and 4.1.X
|
||||||
|
|
||||||
@@ -93,6 +92,11 @@ For full configuration options, see the `configuration documentation <https://dj
|
|||||||
Management Commands
|
Management Commands
|
||||||
~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
For the management commands to work, you will need to install Blessed: <https://github.com/jquast/blessed>
|
||||||
|
|
||||||
|
|
||||||
Start a cluster with::
|
Start a cluster with::
|
||||||
|
|
||||||
$ python manage.py qcluster
|
$ python manage.py qcluster
|
||||||
|
|||||||
+2
-2
@@ -4,8 +4,8 @@
|
|||||||
Admin pages
|
Admin pages
|
||||||
===========
|
===========
|
||||||
|
|
||||||
Django Q does not use custom pages, but instead leverages what is offered by Django's model admin by default.
|
Django Q2 does not use custom pages, but instead leverages what is offered by Django's model admin by default.
|
||||||
When you open Django Q's admin pages you will see three models:
|
When you open Django Q2's admin pages you will see three models:
|
||||||
|
|
||||||
Successful tasks
|
Successful tasks
|
||||||
----------------
|
----------------
|
||||||
|
|||||||
+2
-2
@@ -71,9 +71,9 @@ author = 'Ilan Steemers, Stan Triepels'
|
|||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = '1.3'
|
version = '1.4'
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = '1.4.0'
|
release = '1.4.1'
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
|||||||
+1
-1
@@ -143,7 +143,7 @@ Limits the amount of successful tasks saved to Django.
|
|||||||
- Failures are always saved.
|
- Failures are always saved.
|
||||||
|
|
||||||
save_limit_per
|
save_limit_per
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
|
|
||||||
The above ``save_limit`` for successful tasks can be fine tuned per task type using
|
The above ``save_limit`` for successful tasks can be fine tuned per task type using
|
||||||
- Set to ``"group"`` to store the tasks per group
|
- Set to ``"group"`` to store the tasks per group
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ Features
|
|||||||
- Rollbar and Sentry support
|
- Rollbar and Sentry support
|
||||||
|
|
||||||
|
|
||||||
Django Q is tested with: Python 3.7, 3.8, 3.9 and 3.10, Django 2.2.x and 3.2.x
|
Django Q2 is tested with: Python 3.7, 3.8, 3.9 and 3.10, Django 2.2.x and 3.2.x
|
||||||
|
|
||||||
Currently available in English, German and French.
|
Currently available in English, German and French.
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -38,13 +38,13 @@ Django Q2 is tested for Python 3.7, 3.8, 3.9 and 3.10
|
|||||||
|
|
||||||
Used to store args, kwargs and result objects in the database.
|
Used to store args, kwargs and result objects in the database.
|
||||||
|
|
||||||
- `Blessed <https://github.com/jquast/blessed>`__
|
|
||||||
|
|
||||||
This feature-filled fork of Erik Rose's blessings project provides the terminal layout of the monitor.
|
|
||||||
|
|
||||||
|
|
||||||
Optional
|
Optional
|
||||||
~~~~~~~~
|
~~~~~~~~
|
||||||
|
- `Blessed <https://github.com/jquast/blessed>`__ is used to display the statistics in the terminal::
|
||||||
|
|
||||||
|
$ pip install blessed
|
||||||
|
|
||||||
- `Redis-py <https://github.com/andymccurdy/redis-py>`__ client by Andy McCurdy is used to interface with both the Redis::
|
- `Redis-py <https://github.com/andymccurdy/redis-py>`__ client by Andy McCurdy is used to interface with both the Redis::
|
||||||
|
|
||||||
$ pip install redis
|
$ pip install redis
|
||||||
|
|||||||
+1
-1
@@ -4,9 +4,9 @@ Monitor
|
|||||||
|
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
|
|
||||||
Blessed needs to be installed to get this to work! See: https://pypi.org/project/blessed/
|
Blessed needs to be installed to get this to work! See: https://pypi.org/project/blessed/
|
||||||
|
|
||||||
|
|
||||||
The cluster monitor shows live information about all the Q clusters connected to your project.
|
The cluster monitor shows live information about all the Q clusters connected to your project.
|
||||||
|
|
||||||
Start the monitor with Django's `manage.py` command::
|
Start the monitor with Django's `manage.py` command::
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "django-q2"
|
name = "django-q2"
|
||||||
version = "1.4.0"
|
version = "1.4.1"
|
||||||
packages = [
|
packages = [
|
||||||
{ include = "django_q" },
|
{ include = "django_q" },
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user