replace name of methods and funtions

This commit is contained in:
2026-05-21 22:27:23 +02:00
committed by kitoy
parent 7709f6127b
commit bf43a417c8
11 changed files with 118 additions and 140 deletions

View File

@@ -18,17 +18,17 @@ class MyBlocs:
mybloc['type'] = str(blocType)
return mybloc
def makeForm(bloc):
def make_form(bloc):
form = FormBloc()
return form
def imgForm():
def img_form():
return ImageForm()
def newImgForm():
def new_img_form():
return ImageUpload()
def listTypeBlocs(theme):
def list_type_blocs(theme):
typeBlocs = list()
folders = Path(PurePosixPath('./app').joinpath('templates', theme, 'blocs'))
for folder in folders.iterdir():