Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A flat pages application for Django based on django.contrib.flatpages

Project Description

Django Páginas is a pluggable flat pages application for Django Web Framework based on django.contrib.flatpages.

Project page
http://bitbucket.org/semente/django-paginas
Translations
https://www.transifex.com/projects/p/django-paginas/

Installing & Setup

  1. Install django-paginas (available on PyPI, so you can install it running pip install django-paginas);
  2. Add paginas to your INSTALLED_APPS setting;

Then either:

  1. Add an entry in your URLconf. For example:

    urlpatterns = patterns('',
        ('^pages/', include('paginas.urls')),
    )
    

or:

  1. Add 'paginas.middleware.PageFallbackMiddleware' to your MIDDLEWARE_CLASSES setting [1];
  2. Run the command manage.py syncdb --migrate.

Settings

Available settings:

PAGINAS_DEFAULT_TEMPLATE_ID (Default: 1)
Automatically select the correspondent template on Page creation.

License

Copyright (c) 2012-, Guilherme Gondim
Copyright (c) 2005-2012, Django Software Foundation and individual contributors

Django Redator is Software Libre; you can redistribute it and/or modify it under the terms of the BSD (3-clause) License.

You should have received a copy of the BSD License along with this program; see the file LICENSE.


[1]Generally, you can put PageFallbackMiddleware at the end of the list. This means it will run first when processing the response, and ensures that any other response-processing middlewares see the real flatpage response rather than the 404.
Release History

Release History

This version
History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.2

History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-paginas-0.3.3.tar.gz (11.0 kB) Copy SHA256 Checksum SHA256 Source Sep 21, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting