Fix incomplete warning message

This commit is contained in:
Raphael Michel
2026-09-10 12:16:10 +02:00
parent fb948cc7f4
commit d9b5fa5b16
+1 -1
View File
@@ -29,7 +29,7 @@ from django.urls import reverse
def build_absolute_uri(urlname, args=None, kwargs=None): def build_absolute_uri(urlname, args=None, kwargs=None):
warnings.warn( warnings.warn(
'Usage of build_absolute_uri is confusing since there are many functions with that name. ' 'Usage of build_absolute_uri is confusing since there are many functions with that name. '
'Replace this usage with ', 'Replace this usage with mainreverse_absolute.',
DeprecationWarning DeprecationWarning
) )
return mainreverse_absolute(urlname, args, kwargs) return mainreverse_absolute(urlname, args, kwargs)