diff --git a/core/models.py b/core/models.py index 3809041d..d91fe1a1 100644 --- a/core/models.py +++ b/core/models.py @@ -250,7 +250,7 @@ def get_tree_based_url(self, include_site_url=False): def get_url_path_parts(self): return [self.view_path, self.slug + '/'] - def get_url(self, request=None, is_draft=False, language_code=settings.LANGUAGE_CODE): + def get_url(self, request=None, current_site=None, is_draft=False, language_code=settings.LANGUAGE_CODE): url = self.full_url querystring = {} if is_draft: