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!

Composite views for REST services.

Project Description

Composite pages for django.

Installation

We are at the cheese-shop:

pip install django_forest

Usage

In order to use django_forest in your project:

  1. Include mptt and forest in your INSTALLED_APPS settings.
  2. Enable django-admin.
  3. In your terminal, type: python manage.py syncdb
  4. Followed by: python manage.py runserver
  5. Point your browser to localhost:8000/admin
  6. Create a few Pages: Pages are defined as well, web-pages only that in context of django_forest, they contain Widgets.
  7. Create a few Widgets: Little boxes that point to a URL. The URL is used to get a partial-HTML rendered from a server or JSON which is then rendered into HTML client-side using handlebar.js templates.
  8. And finally we have Templates: If you haven’t guessed already, these are client-side handlebar.js snippets that will get their context from the JSON at the URL defined in the Widget.
  9. The above arrangement is all you need to make composite pages. There is room for improvement: For instance, the gridster.js that allows for drag-and-drop functionality does not currently serialize its state to the server. However, I intend to iron-out these niggles in the coming release.Watch this space.

History

0.1.0 (2014-1-14)

  • First release on PyPI.
Release History

Release History

This version
History Node

0.1.1

History Node

0.1.0

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_forest-0.1.1.tar.gz (56.0 kB) Copy SHA256 Checksum SHA256 Source Jan 15, 2014

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