Skip to main content
Django Multilingual Initiatives
===============================

An app for showing localized versions of initiatives. E.g. as plugin
in a blog post.

Comes with a django-cms plugin and is multilingual.

Prerequisites
-------------

You will need to have the following packages installed:

* django-cms (cms 3 beta tested)


Installation
------------

If you want to install the latest stable release from PyPi::

$ pip install django-multilingual-initiatives

If you feel adventurous and want to install the latest commit from GitHub::

$ pip install -e git://github.com/bitmazk/django-multilingual-initiatives.git#egg=multilingual_initiatives

Add ``multilingual_initiatives`` to your ``INSTALLED_APPS``::

INSTALLED_APPS = (
...,
'multilingual_initiatives',
)

Run the South migrations::

./manage.py migrate multilingual_initiatives


Usage
-----

Use the Django admin to create your initiative objects. If you are using
django-cms you can use the ``Initiative Plugin`` to display an initiative
in your placeholders.


Settings
--------

INITIATIVE_PLUGIN_DISPLAY_TYPE_CHOICES
++++++++++++++++++++++++++++++++++

Default::

[
('small', _('small')),
('big', _('big')),
]

When using the ``Initiative Plugin`` in your django-cms placeholders you will
notice that you only have two choices for the ``Display type``. This field
can be helpful when you want to render an Initiative differently in different
parts of your site. If you need even more display types, just set this setting
to a different list of tuples.


Roadmap
-------

Check the issue tracker on github for milestones and features to come.

Release files for django-multilingual-initiatives 1.0

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-multilingual-initiatives 1.0
File Size Uploaded
django-multilingual-initiatives-1.0.tar.gz 10.9 kB Details

Release files / django-multilingual-initiatives-1.0.tar.gz

Download URL django-multilingual-initiatives-1.0.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a971b464db12d8f94f0d2c9e3472d314cba05955a50e2b4107645b0c95a39e7e
BLAKE2b-256 checksum
How to use checksums
8ae5f386828f3b4d6a992fd4c0a94abe34af88f0be2e9d65e1b052f6c71dd49c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

0.2

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