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!

Gipsy Pages

Project Description

Installation

pip install gipsy-pages

or

git clone ssh://git@git.revsquare.com/seler/gipsy-pages
cd gipsy-pages
python setup.py install

or for development

git clone ssh://git@git.revsquare.com/seler/gipsy-pages
cd gipsy-pages
pip install -r requirements/dev.txt
python setup.py develop

Usage

Add to requirements gipsy-pages, gipsy-sections and other used libraries:

'filebrowser',
'gipsy.sections',
'gipsy.pages',
'mptt',
'django_extensions',

List templates for pages and sections:

GIPSY_PAGES_PAGE_TEMPLATE_NAME_ARTICLE = 'pages/article.html'
GIPSY_PAGES_PAGE_TEMPLATE_NAME_SIMPLE = 'pages/simple.html'

GIPSY_PAGES_PAGE_TEMPLATE_NAME_CHOICES = (
    (GIPSY_PAGES_PAGE_TEMPLATE_NAME_ARTICLE, 'Article'),
    (GIPSY_PAGES_PAGE_TEMPLATE_NAME_SIMPLE, 'Simple'),
)

GIPSY_SECTIONS_SECTION_TEMPLATE_NAME_TEXT = 'sections/text.html'
GIPSY_SECTIONS_SECTION_TEMPLATE_NAME_IMAGE = 'sections/image.html'

GIPSY_SECTIONS_SECTION_TEMPLATE_NAME_CHOICES = (
    (GIPSY_SECTIONS_SECTION_TEMPLATE_NAME_TEXT, 'Text'),
    (GIPSY_SECTIONS_SECTION_TEMPLATE_NAME_IMAGE, 'Image'),
)

add pages to urls:

url(r'^', include('gipsy.pages.urls', namespace='pages')),
# or
url(r'^pages/', include('gipsy.pages.urls', namespace='pages')),

and then run migrations:

django-admin migrate

Release History

This version
History Node

0.4.5

History Node

0.4.4

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3

History Node

0.2

History Node

0.1.5

History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
gipsy-pages-0.4.5.tar.gz
(9.2 kB) Copy SHA256 Hash SHA256
Source None Dec 1, 2015

Supported By

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 Google Google Cloud Servers DreamHost DreamHost Log Hosting