Skip to main content

Django Class Based Views

This is Django Class Based Views taken from Django trunk.

Use CBVs like this:

import cbv as generic

Then write your class-based views as expained in the Django documentation:

class SomeView(generic.TemplateView):
    template_name = 'some_template.html'

You will need the following middleware installed:

cbv.middleware.DeferredRenderingMiddleware

Once you’re ready to use Django 1.3, you’ll only need to switch the import statement to:

from django.views import generic

Metadata

Release files for django-cbv 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-cbv 0.2
File Size Uploaded Provenance
django-cbv-0.2.tar.gz 19.6 kB Without provenance Details

Release files / django-cbv-0.2.tar.gz

Download URL django-cbv-0.2.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7761994190b916d4104094966205b15605d708ede7eda6354608c900635363c3
BLAKE2b-256 checksum
How to use checksums
f8c142bb5dcf63a12d6fe95311845f329633909941cc485071793dd9d89669ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-cbv 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page