django-nojs es una sencilla aplicación para enchufar para gestionar "javascript discapacitadas" eventos.
Instalación
Añadir nojs a sus INSTALLED_APPS:
INSTALLED_APPS = (
& Nbsp; ...,
& Nbsp; ...,
& Nbsp; "nojs ',
& Nbsp;)
Añadir django.core.context_processors.request y django.core.context_processors.static a sus TEMPLATE_CONTEXT_PROCESSORS:
TEMPLATE_CONTEXT_PROCESSORS = ("django.contrib.auth.context_processors.auth",
& Nbsp; "django.core.context_processors.debug",
& Nbsp; "django.core.context_processors.i18n",
& Nbsp; "django.core.context_processors.media",
& Nbsp; "django.core.context_processors.static",
& Nbsp; "django.core.context_processors.request",
& nbsp; "django.contrib.messages.context_processors.messages")
En tus plantillas:
{Checkjs%%}
Requisitos
- Python
Comentarios que no se encuentran