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

Simple, flexible app for integrating static, unstructured content in a Django site

Project Description

django-pagelets is a simple, flexible app for integrating static, unstructured content in a Django site.

For complete documentation, checkout `<>`_


- "Pagelets" for adding small pieces of content to otherwise static templates
- CMS "pages" which include any number of pagelets and, if needed, attachments
- Different pagelet content types including HTML and Markdown
- An integrated WYSIWYG editor (`WYMeditor <>`_) which can be selectively enabled/disabled

Required Dependencies

- Django >= 1.8
- A Python version supported by your chosen Django version
- Django admin site
- django-taggit 0.12.1 or greater
- django-selectable 0.9.0 or greater
- The `django.template.context_processors.request` context processor

Optional Dependencies

- `jQuery 1.7 <>`_
- `WYMeditor <>`_ (included in pagelets media)

Installation and Setup

#. django-pagelets is available on `PyPI <>`_, so the easiest way to install it is to use `pip <>`_::

pip install django-pagelets

#. Add `pagelets`, `selectable` and `taggit` to INSTALLED_APPS in and run migrate::


#. Make sure `django.template.context_processors.request` is loaded and that you have a template
directory with a "base.html" template in it::

'DIRS': ['/home/user/projects/myproject/templates'], # <- should have 'base.html' inside
'context_processors': [

#. Add the pagelets URLs to, e.g.::

urlpatterns += [
url(r'^selectable/', include('selectable.urls')),
url(r'^pagelets-management/', include('')),
url(r'^', include('pagelets.urls.content')),

#. Visit the admin site, add and save a new page, and click the View on site link. If everything is setup correctly, you should be able to see and edit the content you just added.

Development sponsored by `Caktus Consulting Group, LLC.
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


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_pagelets-1.0.0-py2-none-any.whl (216.8 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Jan 4, 2017
django-pagelets-1.0.0.tar.gz (224.9 kB) Copy SHA256 Checksum SHA256 Source Jan 4, 2017

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