~mna/tulip

The tulip.pkg.locals module exports the locals package.

#Configuration

  • arbitrary key-value, see API Extensions.

#API Extensions

Registering this package provides the following method and field extensions.

#App.locals: table

Key-value dictionary initialized with the configuration table. This can be used to set app-wide information such as name, title, contact email address, etc.

Back to index

About this wiki

commit 3ebfbd288b8e5c95fdf8ce2027a0e94cfa1c8976
Author: Martin Angers <martin.n.angers@gmail.com>
Date:   2021-02-25T14:07:12-05:00

Update to reflect Request:validate_body
Clone this wiki
https://git.sr.ht/~mna/tulip-wiki (read-only)
git@git.sr.ht:~mna/tulip-wiki (read/write)