Skip to main content

Django Ajax View

Simple Django library for quickly using Ajax calls in regular views.

For example, suppose you have a regular TemplateView in Django, which you want to add Ajax interactivity to. Simply add an @ajax method to your controller, and it becomes accessible in the HTML template side as a function:

class MyController(AjaxView):
    ...

    @ajax
    def greetings(self, name):
        return f'Why hello there, {name}!'

Inside the rendered HTML:

const message = await greetings({name: 'Ken'})

See documentation for details. Licensed under MIT.

Metadata

Release files for django-ajaxview 1.0.6

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-ajaxview 1.0.6
File Size Uploaded Provenance Actions
django-ajaxview-1.0.6.tar.gz 27.8 kB Without provenance Details for django-ajaxview-1.0.6.tar.gz

Release files / django-ajaxview-1.0.6.tar.gz

Download URL django-ajaxview-1.0.6.tar.gz
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f05675453917dd823d2e86f154601a78f03abe3fa31d460d813e52cbfa5df88f
BLAKE2b-256 checksum
How to use checksums
101bd91fc1b46c66baf12925cfb9f81c1250569a1e31c8777234e33a2952b611
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

Security for django-ajaxview 1.0.6

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.

Release history Release notifications | RSS feed

This release

1.0.6 This release

1 release file No provenance

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