API Reference

Functions

Objects can be safely retrieved (with permission checks) using drink.get_object()

The main rendering method is accessible via drink.default_view().

Classes

drink.Page(name[, rootpath]) A dict-like object, defining all properties required by a standard page
drink.ListPage(name[, rootpath])

Page’s supported Properties

drink.types

Internal objects

drink.request Represents a single HTTP request using thread-local attributes.
drink.response Represents a single HTTP response using thread-local attributes.
drink.classes dict() -> new empty dictionary
drink.config

Table Of Contents

Previous topic

Developpers’ documentation

Next topic

drink.add_upload_handler

This Page