forked from CGM_Public/pretix_original
Fix incomplete warning message
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user