Esempio n. 1
0
 def _get_form(self, resource, context):
     form = Table_EditRecord._get_form(self, resource, context)
     # We check if the image path refer to an Image instance
     path = form['name']
     check_photo(path, resource, 'name')
     return form
Esempio n. 2
0
 def _get_form(self, resource, context):
     form = Table_EditRecord._get_form(self, resource, context)
     # We check if the image path refer to an Image instance
     path = form['name']
     check_photo(path, resource, 'name')
     return form