This project has been archived by its maintainers, and is no longer receiving any updates.
Django noJS
Simple application to plug to manage “javascript disabled” events
Installation
Add nojs to your INSTALLED_APPS:
INSTALLED_APPS = (
...,
...,
'nojs',
)
Add django.core.context_processors.request and django.core.context_processors.static to your TEMPLATE_CONTEXT_PROCESSORS:
TEMPLATE_CONTEXT_PROCESSORS = ("django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",
"django.core.context_processors.static",
"django.core.context_processors.request",
"django.contrib.messages.context_processors.messages")
Into your templates:
<link href="{{ STATIC_URL }}nojs/nojs.css" rel="stylesheet" type="text/css" media="screen" />
<body>
{% checkjs %}
</body>
Metadata
Release files for django-nojs 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-nojs-0.0.1.tar.gz | 226.0 kB | Without provenance | Details for django-nojs-0.0.1.tar.gz |
Release files / django-nojs-0.0.1.tar.gz
| Download URL | django-nojs-0.0.1.tar.gz |
|---|---|
| Size | 226.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2029f97b57973feda4feb3f7d8343b790d3f3fce644d9b6d7c26ead1da891430
|
|
BLAKE2b-256 checksum How to use checksums |
e349ee0b372c40305a64052983008577f3afcca9386357760443c45f65fc1dca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-nojs 0.0.1
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.