Skip to main content

Build admin-style views with minimal code

Project description

Build admin-style views with minimal code.


Django admin is great for creating quick CRUD views for admin users, but is not suitable for end users.

Fastview is inspired by Django admin - write code to manage objects in a few lines, using groups of standard generic views which can be supplemented, overridden or replaced as necessary, and styled and tied into the rest of your site.

Fastview adds a layer of access control to make it straightforward to manage who can access each view, and provides default templates to get you up and running quickly.

It supports inline formsets, with an optional customisable JavaScript library to manage the UI.

Note: this is an alpha release; expect feature and API changes in future versions. Check upgrade notes for instructions when upgrading.


Install using pip:

pip install django-fastview



Use view groups to build a set of CRUD views in one go, or use the views independently:

class BlogViewGroup(ModelViewGroup):
    model = Blog
    publish = MyPublishView  # Django view class
    permissions = {
        "index": Public(),
        "detail": Public(),
        "create": Login(),  # Allow any logged in user to create a post
        "update": Staff() | Owner("owner"),  # Allow staff or post owners to edit
        "delete": Django("delete"),  # Only users with the delete permission
        "publish": Staff() & ~Owner("owner"),  # Staff can publish but not their own

urlpatterns = [ # ...
    url(r'^blog/', BlogViewGroup().include(namespace="blog")),

For more details see the main documentation.

Project details

Download files

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

Files for django-fastview, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size django-fastview-0.0.3.tar.gz (30.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page