diff libervia/pages/photos/album/page_meta.py @ 1509:106bae41f5c8

massive refactoring from camelCase -> snake_case. See backend commit log for more details
author Goffi <goffi@goffi.org>
date Sat, 08 Apr 2023 13:44:11 +0200
parents d6bcb0cf92d2
children
line wrap: on
line diff
--- a/libervia/pages/photos/album/page_meta.py	Fri Apr 07 15:20:40 2023 +0200
+++ b/libervia/pages/photos/album/page_meta.py	Sat Apr 08 13:44:11 2023 +0200
@@ -14,17 +14,17 @@
 
 
 def parse_url(self, request):
-    self.getPathArgs(request, ["service", "*path"], min_args=1, service="jid", path="")
+    self.get_path_args(request, ["service", "*path"], min_args=1, service="jid", path="")
 
 
 def prepare_render(self, request):
-    data = self.getRData(request)
+    data = self.get_r_data(request)
     data["thumb_limit"] = 800
     data["retrieve_comments"] = True
-    files_page = self.getPageByName("files_list")
+    files_page = self.get_page_by_name("files_list")
     return files_page.prepare_render(self, request)
 
 
 def on_data_post(self, request):
-    blog_page = self.getPageByName("blog_view")
+    blog_page = self.get_page_by_name("blog_view")
     return blog_page.on_data_post(self, request)