def handle(self, *args, **options): app = options.get('checkers', args) if app: args += tuple(list_py2(app)) if options['list']: rt.show(Checkers, column_names="value text") else: rt.startup() check_data(args=args, fix=options['fix'])
def handle(self, *args, **options): if options["list"]: Checkers.show() else: rt.startup() check_plausibility(args=args, fix=options["fix"])
"""A shortcut import for usage in a Django shell or a :manage:`run` script. Typical usage:: >>> from lino.api.shell import * """ from lino import AFTER17 if AFTER17: import django django.setup() from django.conf import settings from lino.api import ad, dd, rt rt.startup() globals().update(rt.modules)
def handle(self, *args, **options): if options['list']: Checkers.show() else: rt.startup() check_plausibility(args=args, fix=options['fix'])