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/>.
- Python >= 2.6
- Django >= 1.5
- Add 'ssify' to INSTALLES_APPS.
- Add middleware classes:
- ssify.middleware.SsifyMiddleware on top,
- if using UpdateCacheMiddleware, add ssify.middleware.PrepareForCacheMiddleware after it,
- ssify.middleware.LocaleMiddleware instead of stock LocaleMiddleware.
- Make sure you have 'django.core.context_processors.request' in your TEMPLATE_CONTEXT_PROCESSORS.
- Configure your webserver to use SSI ('ssi=on' with Nginx).
- Define your included urls using the @ssi_included decorator.
- Define your ssi variables using the @ssi_variable decorator.
- Radek Czajka radekczajka@nowoczesnapolska.org.pl