Skip to main content

django_forest

https://badge.fury.io/py/django_forest.png https://travis-ci.org/alixedi/django_forest.png?branch=master https://pypip.in/d/django_forest/badge.png

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 files for django_forest 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django_forest 0.1.1
File Size Uploaded
django_forest-0.1.1.tar.gz 56.0 kB Details

Release files / django_forest-0.1.1.tar.gz

Download URL django_forest-0.1.1.tar.gz
Size 56.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f842f9b888bd79e617aaf19a7c371af657fa286bac5d01dd9c3a657c10a4b8db
BLAKE2b-256 checksum
How to use checksums
7a6a4e27cd53a2a84acbda293bc786aed81eb19e9a5fb6e859f46cb42285179e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page