flask-peewee¶

provides a layer of integration between the flask web framework and the peewee orm.

Contents:

  • Installing
    • Using git
  • Getting Started
    • Creating a flask app
    • Creating a simple model
    • Setting up a simple base template
    • Adding users to the site
    • Managing content using the admin area
    • Exposing content using a REST API
  • Database Wrapper
    • Other examples
  • Admin Interface
    • Getting started
    • Customizing how models are displayed
    • Nicer display for Foreign Key fields
    • Bulk actions
    • Exporting data
    • Creating admin panels
    • Handling File Uploads
  • Authentication
    • Getting started
    • Marking areas of the site as login required
    • Requiring specific permissions
    • Retrieving the current user
    • Logging users in and out programmatically
    • Accessing the user in the templates
    • Using a custom “User” model
  • REST API
    • Getting started with the API
    • Creating a RestAPI
    • Customizing what is returned
    • Nested resources
    • Validating incoming data
    • Allowing users to post objects
    • Restricting API access on a per-model basis
    • Locking down a resource
    • Token-based authentication
    • Filtering records and querying
    • Sorting results
    • Limiting results and pagination
  • Utilities
    • Getting objects
    • Misc

API in depth:

  • API
    • Admin
    • Auth
    • Database
    • REST API
    • Utilities

Indices and tables¶

  • Index

  • Module Index

  • Search Page

Logo

Navigation

  • Installing
  • Getting Started
  • Database Wrapper
  • Admin Interface
  • Authentication
  • REST API
  • Utilities
  • API

Related Topics

  • Documentation overview
    • Next: Installing
©2026, charles leifer. | Powered by Sphinx 9.0.4 & Alabaster 1.0.0 | Page source