Two-phased rendering using SSI.
Project description
License
-------

Copyright © 2014 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>
-------

Copyright © 2014 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.1.tar.gz
(33.0 kB
view details)
File details
Details for the file django-ssify-0.2.1.tar.gz
.
File metadata
- Download URL: django-ssify-0.2.1.tar.gz
- Upload date:
- Size: 33.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d195ceb4d80e5434d288e8b7810d25029b7bf69955f622e6ea53b8ce33635640
|
|
MD5 |
356f942c8e2ef010e499706480acb033
|
|
BLAKE2b-256 |
9d525f9f30c61477b420365f94159275b0cb0fd4a2f04ba40587203cd2559cd7
|