Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Two-phased rendering using SSI.

Project description


![AGPL Logo](

Copyright © 2014,2015 Fundacja Nowoczesna Polska <>

For full list of contributors see AUTHORS section at the end.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <>.


* Python >= 2.6
* Django >= 1.5


1. Add 'ssify' to INSTALLES_APPS.
2. Add middleware classes:
* ssify.middleware.SsifyMiddleware on top,
* if using UpdateCacheMiddleware, add
ssify.middleware.PrepareForCacheMiddleware after it,
* ssify.middleware.LocaleMiddleware instead of stock LocaleMiddleware.
3. Make sure you have 'django.core.context_processors.request' in your
4. Configure your webserver to use SSI ('ssi=on' with Nginx).


1. Define your included urls using the @ssi_included decorator.
2. Define your ssi variables using the @ssi_variable decorator.


* Radek Czajka <>

Project details

Download files

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

Files for django-ssify, version 0.2.4
Filename, size File type Python version Upload date Hashes
Filename, size django_ssify-0.2.4-py2.py3-none-any.whl (21.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-ssify-0.2.4.tar.gz (33.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page