diff --git a/zds/tutorialv2/models/database.py b/zds/tutorialv2/models/database.py index 6ca0ad4161..0e2d7c23f3 100644 --- a/zds/tutorialv2/models/database.py +++ b/zds/tutorialv2/models/database.py @@ -936,6 +936,13 @@ def get_absolute_url_zip(self): return self.get_absolute_url_to_extra_content("zip") + def get_absolute_url(self): + """For admin interface. + get_absolute_url_online() should probably be directly used in other cases. + """ + + return self.get_absolute_url_online() + def get_char_count(self, md_file_path=None): """Compute the number of letters for a given content