Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Django jrac

Requirements

Django 1.3 or later

Installation

$ pip install django-jquery

Setup

Add 'django.contrib.staticfiles', 'jquery', 'jquery_ui', and 'jrac' to INSTALLED_APPS in your settings.py:

INSTALLED_APPS = (
    # ...

    'django.contrib.staticfiles',
    'jquery',
    'jquery_ui'
    'jrac',

    # ...
)

Make sure you use 'collectstatic' to copy installed files to your static folder:

$ python setup.py collectstatic

Refer to Django static files documentation for additional information.

Usage

You can refer to jquery in your template with:

{{ STATIC_URL }}js/jquery.jrac.js

Custom widget:

class MyWidget(forms.TextInput):
    class Media:
        js = ('js/jquery.jrac.js',)

    def render(self, name, value, attrs=None):
        html = super(MyWidget, self).render(name, value, attrs=attrs)
        # ...
        return html

Deployment:

Use the minified jquery.jrac.min.js instead of jquery.jrac.js

Demo

Check out the demo.

Metadata

Release files for django-jrac 1.0.2.dev10

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-jrac 1.0.2.dev10
File Size Uploaded Provenance Actions
django-jrac-1.0.2.dev10.tar.gz 18.3 kB Without provenance Details for django-jrac-1.0.2.dev10.tar.gz

Release files / django-jrac-1.0.2.dev10.tar.gz

Download URL django-jrac-1.0.2.dev10.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e391d45a26399ba3a5bc4eecd7a5f702e5e7c76f7286d514004f85a8a5974459
BLAKE2b-256 checksum
How to use checksums
1b9aa565de03f8b8e664644bf7f01782f51771875231ef35b0425c6863f6f1e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-jrac 1.0.2.dev10

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
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