Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
Version 2¶
We imagine that the customer, after having seen Version 1, asked for a way to add images to offers and product descriptions.
We get this by letting Product
and Offer
inherit from the
Previewable
mixin. We need to add the
lino.modlib.memo
plugin in order to activate this mixin.
We remove the description field because the description goes now into the body field, which comes with Previewable.
We also add the lino.modlib.uploads
plugin because end users who upload
images usually also want to manage these files.
We also add the lino.modlib.checkdata
plugin because this is needed
by uploads.
We need to write a user types module. See Introduction to permissions.
We also write a doctest page about this version: lets2 : Second prototype of the LETS tutorial.