Skip to main content

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:

  2. Collect static files by running:

    python 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},

Project details

Download files

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

Files for dj-jkabachcha, version 0.7
Filename, size File type Python version Upload date Hashes
Filename, size dj-jkabachcha-0.7.tar.gz (206.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page