Skip to main content

Django app to manage and display editos

Project description

# django-editos

django-editos is an app to manage and display editos

## Install

Using PyPI

pip install django-editos

From source

python setup.py install

## Basic usage

In settings.py

add `geelweb.django.editos` to the `INSTALLED_APPS`

In the templates, load the editos tags

{% load editos %}

and display the editos

{% editos %}

## editos tag usage

{% editos ['path/to/a/template.html'] %}

The only parameter is a tempalte file to render the editos

## Existing templates

* editos/carousel.html, the default template. Render a Bootstrap 3 carousel
http://getbootstrap.com/javascript/#carousel

## Create a template

The editos will be assign to the template in the `editos` variable

{% for edito in editos %}
{{ edito.title }}
{% endfor %}

Project details


Download files

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

Source Distribution

django-editos-1.0.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file django-editos-1.0.tar.gz.

File metadata

  • Download URL: django-editos-1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-editos-1.0.tar.gz
Algorithm Hash digest
SHA256 2397642109fd039992792a190b7f92856f55386d3faf617360a13735b64ac969
MD5 48be39a27aa338156646e69e61797f17
BLAKE2b-256 965b88fbe31ee6febf1387681ed1878b0fdbad37dc0facd90cddec5466abbd2e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page