Did I find the right examples for you? yes no

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)
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
 
    if not layout_uid:
        layout_uid = ACTIVE_LAYOUT
 
    layout_cls = layout_registry.get(layout_uid, None)

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
 
    if not layout_uid:
        layout_uid = ACTIVE_LAYOUT
 
    layout_cls = layout_registry.get(layout_uid, None)

src/d/j/django-dash-0.4.4/src/dash/templatetags/dash_tags.py   django-dash(Download)
from django.utils.translation import ugettext_lazy as _
 
from dash.settings import ACTIVE_LAYOUT, DISPLAY_AUTH_LINK
from dash.utils import get_workspaces
 
                layout_uid = context['layout'].uid
            except Exception as e:
                layout_uid = ACTIVE_LAYOUT
 
        workspaces = get_workspaces(user=user, layout_uid=layout_uid)

src/d/j/django-dash-HEAD/src/dash/templatetags/dash_tags.py   django-dash(Download)
from django.utils.translation import ugettext_lazy as _
 
from dash.settings import ACTIVE_LAYOUT, DISPLAY_AUTH_LINK
from dash.utils import get_workspaces
 
                layout_uid = context['layout'].uid
            except Exception as e:
                layout_uid = ACTIVE_LAYOUT
 
        workspaces = get_workspaces(user=user, layout_uid=layout_uid)