Skip to content

Commit

Permalink
Fix install command and remove old warnings (Koed00#16)
Browse files Browse the repository at this point in the history
* fix django q2 install command and remove space

* remove warnings for very old versions
  • Loading branch information
GDay authored Oct 15, 2022
1 parent ce98aaa commit 5539dd6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Installation

- Install the latest version with pip::

$ pip install django-q
$ pip install django-q2


- Add `django_q` to your `INSTALLED_APPS` in your projects `settings.py`::
Expand All @@ -60,7 +60,7 @@ Installation

$ python manage.py migrate

- Choose a message `broker <https://django-q2.readthedocs.org/en/latest/brokers.html>`__ , configure and install the appropriate client library.
- Choose a message `broker <https://django-q2.readthedocs.org/en/latest/brokers.html>`__, configure and install the appropriate client library.

Read the full documentation at `https://django-q2.readthedocs.org <https://django-q2.readthedocs.org>`__

Expand Down
5 changes: 0 additions & 5 deletions docs/group.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ Instead of :func:`result_group` you can also use :func:`fetch_group` to return a
Getting results by using :func:`result_group` is of course much faster than using :func:`fetch_group`, but it doesn't offer the benefits of Django's queryset functions.

.. note::

Calling ``Queryset.values`` for the result on Django 1.7 or lower will return a list of encoded results.
If you can't upgrade to Django 1.8, use list comprehension or an iterator to return decoded results.

You can also access group functions from a task result instance:

.. code-block:: python
Expand Down
8 changes: 1 addition & 7 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ Django Q2 is tested for Python 3.7, 3.8, 3.9 and 3.10

- `Django <https://www.djangoproject.com>`__

Django Q2 aims to use as much of Django's standard offerings as possible
Django Q2 aims to use as much of Django's standard offerings as possible.
The code is tested against Django versions `2.2.x` and `3.2.x`.
Please note that Django versions below 2.0 do not support Python 3.7

- `Django-picklefield <https://github.com/gintas/django-picklefield>`__

Expand Down Expand Up @@ -135,11 +134,6 @@ Python
Current tests are performed with 3.7, 3.8, 3.9 and 3.10
If you do encounter any regressions with earlier versions, please submit an issue on `github <https://github.com/GDay/django-q2>`__

.. note::

Django releases before 1.11 are not supported on Python 3.6
Django releases before 2.0 are not supported on Python 3.7

Open-source packages
~~~~~~~~~~~~~~~~~~~~
Django Q2 is always tested with the latest versions of the required and optional Python packages. We try to keep the dependencies as up to date as possible.
Expand Down

0 comments on commit 5539dd6

Please sign in to comment.