You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/docs/reference/upgrading.md
+10-4
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,23 @@ This document provides instructions for specific steps required to upgrading you
4
4
application to a later version where there are extra steps required.
5
5
6
6
#### 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.
8
10
9
11
#### 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
+
11
16
If you don't have `celery` or `django-celery` in your requirements.txt this section can be ignored.
12
17
13
18
`django-celery` has been removed as a dependency. Please remove it from your requirements.
14
19
15
20
__Note__ This means that old results from `django-celery` will no longer be visible from the admin.
16
21
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.
18
24
19
25
Celery has been upgraded to 5.0.2.
20
26
@@ -25,7 +31,7 @@ So if you're using a requirements.txt for example it should now include.
25
31
django-celery-results==2.0.0
26
32
27
33
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
29
35
`python manage.py celery worker -l info` to `celery -A opal.core worker -l INFO`
0 commit comments