Skip to main content

No project description provided

Project description

Django-tidy

Make Django automatically tidy up all your generated HTML with HTML Tidy!

Installation

First, make sure the tidy command is available (e.g., sudo apt install tidy). Then, install Django-tidy with pip:

$ pip install django-tidy

Finally, add the the following to your MIDDLEWARE setting:

MIDDLEWARE += ['tidy.middleware.TidyMiddleware']

Precautions

If used in production, it is advised to use some kind of caching to prevent server overload.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

django-tidy-0.1.tar.gz (2.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page