Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

django-fs-trumbowyg

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-fs-trumbowyg

Trumbowyg (WYSIWYG editor) integration app for Django admin.

  • 0.1.4
  • PyPI
  • Socket score

Maintainers
1

Introduction

django-fs-trumbowyg is the Django-related reusable app for integrating Trumbowyg WYSIWYG editor http://alex-d.github.io/Trumbowyg/.

Installation

  1. Install django-fs-trumbowyg using pip::

    $ pip install django-fs-trumbowyg

  2. Add 'trumbowyg' to your INSTALLED_APPS setting::

    INSTALLED_APPS = ( ... 'trumbowyg', ... )

  3. Update your urls.py::

    url(r'^trumbowyg/', include('trumbowyg.urls'))

Usage

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


admin.site.register(YourModel, YourModelAdmin)

Credits

  • Fogstream <http://fogstream.ru/>_
  • Alex-D <http://alex-d.fr/>_

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc