Overview

What is it?

Portlets are content objects which are managed in Slots. Slots can be freely defined and placed anywhere within a HTML page.

Portlets are usual content objects, that means they can have arbitrary fields and functionalities.

There are also some more advanced features like inheriting and blocking of portlets.

django-portlets provides just a generic engine to manage portlets. You can find a comprehensive implementation within LFS.

Example

django-portlets comes with a simple example application which shows how to use it.

Documentation

For more documentation please visit: http://packages.python.org/django-portlets/

Changes

1.1 (2011-11-21)

  • Added base class (from which can inherited)
  • API change: changed the order of parameters for get_portlets and has_portlets

1.0 (2010-08-24)

  • First final release

1.0 beta 4 (2010-07-07)

  • Changed: cache keys are using CACHE_MIDDLEWARE_PREFIX now
  • Bugfix caching: added language to cache key

1.0 beta 3 (2010-06-28)

  • Bugfix: make registration working for postgres; issue #1
  • Bugfix caching: use class name instead of content type for cache key

1.0 beta 2 (2010-05-21)

  • Improved caching
  • Added license

1.0 beta 1 (2010-05-17)

  • First beta release.

0.4.0 (2010-04-16)

  • Display only registered portlets

0.3.2 (2009-10-15)

  • Changed documentation to one page (for now)
  • Example TextPortlet: made context paramenter of render method optional.
  • Added tests for models

0.3.1 (2009-10-14)

  • Added tests
  • Bugfix: Check whether the content object implements get_parent_for_portlets within utils.has_portlets

0.3.0 (2009-10-12)

  • Added documentation

0.2.0 (2009-10-12)

  • Added simple example implementation

0.1.0 (2009-10-12)

  • Initial public release
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.