def _init_titles(self):
super(BaseCRUDView, self)._init_titles()<EOL>class_name = self.datamodel.model_name<EOL>if not self.list_title:<EOL><INDENT>self.list_title = "<STR_LIT>" + self._prettify_name(class_name)<EOL><DEDENT>if not self.add_title:<EOL><INDENT>self.add_title = "<STR_LIT>" + self._prettify_name(class_name)<EOL><DEDENT>if not self.edit_title:<EOL><INDENT>self.edit_title = "<STR_LIT>" + self._prettify_name(class_name)<EOL><DEDENT>if not self.show_title:<EOL><INDENT>self.show_title = "<STR_LIT>" + self._prettify_name(class_name)<EOL><DEDENT>self.title = self.list_title<EOL>
Init Titles if not defined