Skip to content

Commit d637686

Browse files
committed
Address review changes
1 parent a3c2ea9 commit d637686

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pictures/tasks.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def dramatiq_process_picture( # noqa: F811
7070
) -> None:
7171
if django.VERSION >= (6, 0):
7272
warnings.warn(
73-
"The `dramatiq_process_picture`-processor deprecated in favor of Django's tasks framework."
73+
"The 'dramatiq_process_picture'-processor is deprecated in favor of Django's tasks framework."
7474
" Deletion is scheduled with Django 5.2 version support.",
7575
PendingDeprecationWarning,
7676
stacklevel=2,
@@ -113,7 +113,7 @@ def celery_process_picture( # noqa: F811
113113
) -> None:
114114
if django.VERSION >= (6, 0):
115115
warnings.warn(
116-
"The `celery_process_picture`-processor deprecated in favor of Django's tasks framework."
116+
"The 'celery_process_picture'-processor is deprecated in favor of Django's tasks framework."
117117
" Deletion is scheduled with Django 5.2 version support.",
118118
PendingDeprecationWarning,
119119
stacklevel=2,
@@ -156,7 +156,7 @@ def rq_process_picture( # noqa: F811
156156
) -> None:
157157
if django.VERSION >= (6, 0):
158158
warnings.warn(
159-
"The `rq_process_picture`-processor deprecated in favor of Django's tasks framework."
159+
"The 'rq_process_picture'-processor is deprecated in favor of Django's tasks framework."
160160
" Deletion is scheduled with Django 5.2 version support.",
161161
PendingDeprecationWarning,
162162
stacklevel=2,
@@ -210,5 +210,5 @@ def process_picture( # noqa: F811
210210
except exceptions.InvalidTask as e:
211211
raise exceptions.ImproperlyConfigured(
212212
"Pictures are processed on a separate queue by default,"
213-
" please `TASKS` settings in accordance with Django-Pictures documentation."
213+
" please configure the `TASKS` settings in accordance with Django-Pictures documentation."
214214
) from e

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ classifiers = [
3030
"Programming Language :: Python :: 3.14",
3131
"Framework :: Django",
3232
"Framework :: Django :: 4.2",
33+
"Framework :: Django :: 5.1",
3334
"Framework :: Django :: 5.2",
3435
"Framework :: Django :: 6.0",
3536
]

0 commit comments

Comments
 (0)