Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/d/j/django-dash-0.4.4/src/dash/base.py   django-dash(Download)
from dash.discover import autodiscover
from dash.exceptions import LayoutDoesNotExist
from dash.settings import (
    ACTIVE_LAYOUT, LAYOUT_CELL_UNITS, DEBUG, DEFAULT_PLACEHOLDER_VIEW_TEMPLATE_NAME,
    DEFAULT_PLACEHOLDER_EDIT_TEMPLATE_NAME
    def get_view_template_name(self):
        return self.view_template_name if self.view_template_name else DEFAULT_PLACEHOLDER_VIEW_TEMPLATE_NAME
 
    def get_edit_template_name(self):
        return self.edit_template_name if self.edit_template_name else DEFAULT_PLACEHOLDER_EDIT_TEMPLATE_NAME

src/d/j/django-dash-HEAD/src/dash/base.py   django-dash(Download)
from dash.discover import autodiscover
from dash.exceptions import LayoutDoesNotExist
from dash.settings import (
    ACTIVE_LAYOUT, LAYOUT_CELL_UNITS, DEBUG, DEFAULT_PLACEHOLDER_VIEW_TEMPLATE_NAME,
    DEFAULT_PLACEHOLDER_EDIT_TEMPLATE_NAME
    def get_view_template_name(self):
        return self.view_template_name if self.view_template_name else DEFAULT_PLACEHOLDER_VIEW_TEMPLATE_NAME
 
    def get_edit_template_name(self):
        return self.edit_template_name if self.edit_template_name else DEFAULT_PLACEHOLDER_EDIT_TEMPLATE_NAME