django-nojs 0.1

Simple application to plug to manage "javascript disabled" events

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
BSD License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
sax
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
django-nojs is a 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 >

Last updated on October 18th, 2011

requirements

#disable javascript #javascript events #Django #javascript #events #disabled

Add your review!

SUBMIT