20140221 (Friday, 21 February 2014)¶
First Lino Application Developer Workshop¶
With Manuel we are creating “Lino Sunto”, an application to manage products and vendors:
Our application is to be run on an intranet where no authentication is
user_model can remain empty, and
lino.modlib.users is not installed.
After having added a detail_layout to our Products table,
we were no longer allowed to add rows.
The insert window showed up, but all entry fields were disabled
and the SubmitInsert and SubmitInsertAndStay buttons were missing.
That was because we had no users.
I fixed this by removing the
required = dict(user_level='user')
that was defined on
While discovering the above, I tried to activate authentication
lino.modlib.users to my
just for testing whether it works then.
This revealed another series of subtle problems:
These fixtures din’t work when
languages was not set
did not call
in that case.)
Lino also required
lino.modlib.system to be installed when
user_model was non-empty. No longer.
Restored some failing test cases in the north test suite.