def d_func(func):
    func._d_func = True
    return func


#: The flag indicating that the Declarative object has been initialized.
Shortcut to get the flash from the view context.
dataset/ETHPy150Open nucleic/enaml/enaml/core/declarative.py/d_func--crossover with--dataset/ETHPy150Open danielfm/django-flash/src/djangoflash/tests/testproj/app/tests.py/IntegrationTestCase._flash