@@ -70,8 +70,8 @@ def dramatiq_process_picture( # noqa: F811
7070 ) -> None :
7171 if django .VERSION >= (6 , 0 ):
7272 warnings .warn (
73- "The 'dramatiq_process_picture'-processor is deprecated in favor of Django's tasks framework."
74- " Deletion is scheduled with Django 5.2 version support." ,
73+ "The picture process 'dramatiq_process_picture' is deprecated in favor of Django's tasks framework."
74+ " Deletion is scheduled with the expiration Django 5.2 version support." ,
7575 PendingDeprecationWarning ,
7676 stacklevel = 2 ,
7777 )
@@ -113,8 +113,8 @@ def celery_process_picture( # noqa: F811
113113 ) -> None :
114114 if django .VERSION >= (6 , 0 ):
115115 warnings .warn (
116- "The 'celery_process_picture'-processor is deprecated in favor of Django's tasks framework."
117- " Deletion is scheduled with Django 5.2 version support." ,
116+ "The picture process 'celery_process_picture' is deprecated in favor of Django's tasks framework."
117+ " Deletion is scheduled with the expiration Django 5.2 version support." ,
118118 PendingDeprecationWarning ,
119119 stacklevel = 2 ,
120120 )
@@ -156,8 +156,8 @@ def rq_process_picture( # noqa: F811
156156 ) -> None :
157157 if django .VERSION >= (6 , 0 ):
158158 warnings .warn (
159- "The 'rq_process_picture'-processor is deprecated in favor of Django's tasks framework."
160- " Deletion is scheduled with Django 5.2 version support." ,
159+ "The picture process 'rq_process_picture' is deprecated in favor of Django's tasks framework."
160+ " Deletion is scheduled with the expiration Django 5.2 version support." ,
161161 PendingDeprecationWarning ,
162162 stacklevel = 2 ,
163163 )
@@ -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 configure the ` TASKS` settings in accordance with Django-Pictures documentation."
213+ " please update the ' TASKS' setting in accordance with Django-Pictures documentation."
214214 ) from e
0 commit comments