Skip to main content

Two-phased rendering using SSI.

Project description

License
-------

![AGPL Logo](http://www.gnu.org/graphics/agplv3-155x51.png)

Copyright © 2014,2015 Fundacja Nowoczesna Polska <fundacja@nowoczesnapolska.org.pl>

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
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
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 <http://www.gnu.org/licenses/>.


Dependencies
============

* Python >= 2.6
* Django >= 1.5


Installation
============

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
TEMPLATE_CONTEXT_PROCESSORS.
4. Configure your webserver to use SSI ('ssi=on' with Nginx).

Usage
=====

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


Authors
=======

* Radek Czajka <radekczajka@nowoczesnapolska.org.pl>



Project details


Download files

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

Source Distribution

django-ssify-0.2.6.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_ssify-0.2.6-py2.py3-none-any.whl (22.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-ssify-0.2.6.tar.gz.

File metadata

  • Download URL: django-ssify-0.2.6.tar.gz
  • Upload date:
  • Size: 32.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.5

File hashes

Hashes for django-ssify-0.2.6.tar.gz
Algorithm Hash digest
SHA256 3711ca3ea1783927e75e1d36990129ea120b683e4ef27c93dd8a1672a9644987
MD5 c6d2e2544c5140d394fcf87e4f7b1acc
BLAKE2b-256 0c59b1cbbc799f71dd42bddb9c7faad07919631a17b0dccc02df1962e1b232f0

See more details on using hashes here.

File details

Details for the file django_ssify-0.2.6-py2.py3-none-any.whl.

File metadata

  • Download URL: django_ssify-0.2.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.5

File hashes

Hashes for django_ssify-0.2.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e85cb98cfab4d893232918323e821ec802286ecdcdce2c967784e5e826c8d217
MD5 f85a09347dee734f4e0707a0c1fee7b0
BLAKE2b-256 c470c221bc0c360f1adb4d9368d1376c2b19d17148106b9db1fd073d97c03daf

See more details on using hashes here.

Supported by

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