Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
noi1e
: A Lino Noi using ExtJS front end¶
An example of a Lino Noi using the ExtJS front end.
This page contains code snippets (lines starting with >>>
), which are
being tested during our development workflow. The following
snippet initializes the demo project used throughout this page.
>>> from lino_book.projects.noi1e.startup import *
>>> from atelier.sheller import Sheller
>>> ses = rt.login('robin')
>>> settings.SITE.default_ui
'lino.modlib.extjs'
>>> shell = Sheller(settings.SITE.project_dir.parent)
>>> assert (shell.cwd / 'manage.py').exists()
The following test is currently SKIPPED because it FAILS (it demonstrates #6237 (restore.py fails saying “More than 1000 deferred objects”):
>>> shell("django-admin ddt -b")
...
Writing /.../tmp/a/restore.py...
Writing /.../tmp/b/restore.py...
Successfully ran double-dump test in .../tmp.