Skip to content

Commit 5b391ef

Browse files
author
fredkingham
committed
Merge branch 'celery-upgrade' of github.com:openhealthcare/opal into celery-upgrade
2 parents 182a8c5 + 5d23329 commit 5b391ef

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

doc/docs/reference/upgrading.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,23 @@ This document provides instructions for specific steps required to upgrading you
44
application to a later version where there are extra steps required.
55

66
#### v0.20.0 -> v0.21.0
7-
Opal no longer supports Python 3.5. You will need to use 3.6, 3.7 or 3.8 and therefore must make sure they are installed in your environment.
7+
8+
Opal no longer supports Python 3.5.
9+
You will need to use 3.6, 3.7 or 3.8 and therefore must make sure they are installed in your environment.
810

911
#### Celery changes
10-
Opal does not require you to run Celery but it comes out of the box with it configured for your use.
12+
13+
Opal does not require you to run Celery but we do pre-configure Opal applications for use with
14+
Celery.
15+
1116
If you don't have `celery` or `django-celery` in your requirements.txt this section can be ignored.
1217

1318
`django-celery` has been removed as a dependency. Please remove it from your requirements.
1419

1520
__Note__ This means that old results from `django-celery` will no longer be visible from the admin.
1621

17-
`django-celery-results==2.0.0` replaces `django-celery`, please add it to your requirements. This will show Celery task results in the admin in its own model and requires `python manage.py migrate` to be run.
22+
`django-celery-results==2.0.0` replaces `django-celery`, please add it to your requirements.
23+
This will show Celery task results in the admin and requires `python manage.py migrate` to be run.
1824

1925
Celery has been upgraded to 5.0.2.
2026

@@ -25,7 +31,7 @@ So if you're using a requirements.txt for example it should now include.
2531
django-celery-results==2.0.0
2632

2733

28-
The Django Celery admin command is no longer available change your Celery deployment command from
34+
The Django Celery management command has changed from
2935
`python manage.py celery worker -l info` to `celery -A opal.core worker -l INFO`
3036

3137
Add the below to your settings.py.

0 commit comments

Comments
 (0)