def set_mongonaut_base(self):
if hasattr(self, "<STR_LIT>"):<EOL><INDENT>return None<EOL><DEDENT>self.app_label = self.kwargs.get('<STR_LIT>')<EOL>self.document_name = self.kwargs.get('<STR_LIT>')<EOL>self.models_name = self.kwargs.get('<STR_LIT>', '<STR_LIT>')<EOL>self.model_name = "<STR_LIT>".format(self.app_label, self.models_name)<EOL>self.models = import_module(self.model_name)<EOL>
Sets a number of commonly used attributes