Skip to main content
Help us improve Python packaging – donate today!

Package to create Json WYSIWYG field for Django models

Project Description

Dj jkabachcha is a Django app to create Json WYSIWYG field for Django models.

Quick start

  1. Add “jkabachcha” to your INSTALLED_APPS like this:

    ```
    INSTALLED_APPS = (
        ...
        'jkabachcha',
    )
    ```
    
  2. Collect static files by running:

    ```
    python manage.py collectstatic
    ```
    
  3. Import it in your models like:

    ```
    from jkabachcha.db.fields import JsonField
    ```
    
  4. Create model fields like:

    ```
       json_text = JsonField()
    ```
    
  5. Use widget to override default Textarea in ModelAdmin class like:

    ```
        # import widget
        from jkabachcha.forms.widgets import JsonTextWidget
    
        # in ModelAdmin class, like
    
        formfield_overrides = {
            models.TextField : {'widget': JsonTextWidget},
        }
    ```
    

Release history Release notifications

This version
History Node

0.7

History Node

0.6

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
dj-jkabachcha-0.7.tar.gz (206.2 kB) Copy SHA256 hash SHA256 Source None Jun 21, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page