Skip to main content

UNKNOWN

Project description

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>

Project details


Release history Release notifications

This version
History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-nojs-0.0.1.tar.gz (226.0 kB) Copy SHA256 hash SHA256 Source None Oct 16, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page