Skip to main content

Coaster for Flask

Project description

Coaster contains functions and db models for recurring patterns in Flask apps.

0.3.4

  • get_next_url now takes a default parameter. Pass default=None to return None if no suitable next URL can be found

  • get_next_url no longer looks in the session by default. Pass session=True to look in the session. This was added since popping next from session modifies the session.

  • load_models accepts ‘g.<name>’ notation for parameters to indicate that the parameter should be available as g.<name>. The view function will get called with just <name> as usual.

  • If the view requires permissions, load_models caches available permissions as g.permissions.

0.3.3

  • coaster.views.get_next_url now looks in the session for the next URL.

0.3.2

  • New coaster.app.init_app function moves away from passing configuration status in environment variables.

0.3.0

  • SQLAlchemy models now have a permissions method that load_models looks up.

0.2.2

  • Added logging module

0.1

  • First version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coaster-0.3.5.tar.gz (19.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page