mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Fixed wrong parameters passed to reverse()
This commit is contained in:
@@ -6,4 +6,4 @@ from django.core.urlresolvers import reverse
|
||||
def build_absolute_uri(urlname, args=None, kwargs=None):
|
||||
# Pass prefix='' as a possible SCRIPT_PREFIX (if pretix runs in a subdirectory)
|
||||
# is included in SITE_URL _and_ is added by reverse.
|
||||
return urljoin(settings.SITE_URL, reverse(urlname, args, kwargs, prefix=''))
|
||||
return urljoin(settings.SITE_URL, reverse(urlname, args=args, kwargs=kwargs, prefix=''))
|
||||
|
||||
Reference in New Issue
Block a user