Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A set of generic class-based views for flask

Project Description

Flask-Generic-Views is a set of generic class-based views for the Flask microframework inspired by the ones in Django.

from flask import Flask
from flask.ext.generic_views import TemplateView

app = Flask(__name__)

index_view = TemplateView.as_view('index', template_file='index.html')

app.add_url_rule('/', index_view)

if __name__ == '__main__':

Database Support

Currently Flask-Generic-Views supports use of Models created with SQLAlchemy.


To install the basic views:

$ pip install flask-generic-views

To install optional SQLAlchemy support:

$ pip install flask-generic-views[sqlalchemy]

To install all optional packages:

$ pip install flask-generic-views[all]
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Flask_Generic_Views-0.1.1-py2.py3-none-any.whl (15.4 kB) Copy SHA256 Checksum SHA256 3.4 Wheel Nov 19, 2016
Flask-Generic-Views-0.1.1.tar.gz (12.4 kB) Copy SHA256 Checksum SHA256 Source Nov 19, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting