Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ad-m/django-basic-tinymce-flatpages


https://github.com/ad-m/django-basic-tinymce-flatpages

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

=============================
django-basic-tinymce-flatpages
=============================

.. image:: https://badge.fury.io/py/django-basic-tinymce-flatpages.png
:target: https://badge.fury.io/py/django-basic-tinymce-flatpages

.. image:: https://travis-ci.org/ad-m/django-basic-tinymce-flatpages.png?branch=master
:target: https://travis-ci.org/ad-m/django-basic-tinymce-flatpages

A basic integration of django.contrib.flatpages with django-tinymce.

Documentation
-------------

The full documentation is at https://django-basic-tinymce-flatpages.readthedocs.org.

Quickstart
----------

Install django-basic-tinymce-flatpages::

pip install django-basic-tinymce-flatpages

Then use it in a project by settings:

FLATPAGE_WIDGET = 'tinymce.widgets.TinyMCE'
FLATPAGE_WIDGET_KWARGS = {'attrs': {'cols': 100, 'rows': 15}}

Features
--------

* swappable widget

Running Tests
--------------

Does the code actually work?

::

source /bin/activate
(myenv) $ pip install -r requirements-text.txt
(myenv) $ python runtests.py

Credits
---------

Tools used in rendering this package:

* Cookiecutter_
* `cookiecutter-pypackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-pypackage`: https://github.com/pydanny/cookiecutter-djangopackage