Skip to main content

Django app providing text input and textarea widgets with emoji picker

Project description

django-emoji-picker

Django app providing text input and textarea widgets with emoji picker. It's based on emoji-mart.

Screenshot

Screenshot

Usage

This package contains a Django app that provides two widgets:

  • EmojiPickerTextInput
  • EmojiPickerTextarea

Example

Installation

$ pip install django-emoji-picker

or

$ pipenv install django-emoji-picker

settings.py

INSTALLED_APPS = [
    ...,
    'emoji_picker',
]

<app>/admin/<model>.py (for use with Django Admin)

from emoji_picker.widgets import EmojiPickerTextInputAdmin, EmojiPickerTextareaAdmin


class YourModelForm(forms.ModelForm):
    short_text = forms.CharField(widget=EmojiPickerTextInputAdmin)
    long_text = forms.CharField(widget=EmojiPickerTextareaAdmin)

Building from source

$ yarn
$ yarn build

Project details


Download files

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

Source Distribution

django-emoji-picker-0.0.6.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

django_emoji_picker-0.0.6-py3-none-any.whl (296.6 kB view details)

Uploaded Python 3

File details

Details for the file django-emoji-picker-0.0.6.tar.gz.

File metadata

  • Download URL: django-emoji-picker-0.0.6.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for django-emoji-picker-0.0.6.tar.gz
Algorithm Hash digest
SHA256 b13a7b5ebb192b710502c2b72efc4dea02e048cc6da21286608a998b59c4c251
MD5 896ebdb5572f2256e6da23ad3652b16f
BLAKE2b-256 7d90e587fd659566087f5934be71b42535af3b3a2b640a36567ec78ee64041d0

See more details on using hashes here.

File details

Details for the file django_emoji_picker-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: django_emoji_picker-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 296.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for django_emoji_picker-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7931537b93608c051a82f2510838235e08b8c829a289e55382ff3aa09809302c
MD5 f00e56c1b10047202246de4895838206
BLAKE2b-256 edb4505d59a30bbad816fdd204c759da2cca8f9f10afd8d34ed4339388303401

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page