skip to navigation
skip to content

django-trumbowyg 1.0.3

Trumbowyg (WYSIWYG editor) integration app for Django admin.


django-trumbowyg is the Django-related reusable app for integrating Trumbowyg WYSIWYG editor. It is recognized as one of the best WYSIWYG editors.

Initially this package was forked from Django FS Trumbowyg package and then reworked.


  1. Install django-trumbowyg using pip:

    $ pip install django-trumbowyg
  2. Add 'trumbowyg' to your INSTALLED_APPS setting:

  3. Update your

    url(r'^trumbowyg/', include('trumbowyg.urls'))
  4. Sometimes you might want to limit size of uploaded images, e.g. if they are too large. In this case just put in settings (if you omit this, the image will be uploaded unchanged):

  5. The package will look for LANGUAGES setting. Please make sure you have set it otherwise ALL available language files will be loaded, and apparently this is not what you want:

        ('en', 'English'),
        ('ru', 'Russian'),
  6. (Optional) If you wish image filenames to be transliterated, install transliterate from PyPi and set:



Use TrumbowygWidget in your forms:

from django.forms import ModelForm
from django.contrib.admin import ModelAdmin
from trumbowyg.widgets import TrumbowygWidget
from your_app.models import YourModel

class YourModelAdminForm(ModelForm):
    class Meta:
        model = YourModel
        widgets = {
            'text': TrumbowygWidget(),

class YourModelAdmin(admin.ModelAdmin):
    form = YourModelAdminForm, YourModelAdmin)


File Type Py Version Uploaded on Size
django_trumbowyg-1.0.3-py2-none-any.whl (md5) Python Wheel py2 2017-04-26 113KB
django_trumbowyg-1.0.3-py3-none-any.whl (md5) Python Wheel py3 2017-04-26 113KB