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 EmojiPickerTextInput, EmojiPickerTextarea


class YourModelForm(forms.ModelForm):
    short_text = forms.CharField(widget=EmojiPickerTextInput)
    long_text = forms.CharField(widget=EmojiPickerTextarea)

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.4.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_emoji_picker-0.0.4-py3-none-any.whl (248.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-emoji-picker-0.0.4.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6

File hashes

Hashes for django-emoji-picker-0.0.4.tar.gz
Algorithm Hash digest
SHA256 634a58344e2d70d02b591b09f01af157e9abe8808dd86c882b2c8be5ee262882
MD5 0723f1d2bc3df8733c503b7eb5c54264
BLAKE2b-256 2dbf5a06544e31308952d2bffbc4503524654aafb9e1d7dc57bcd924c78ae46e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_emoji_picker-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 248.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6

File hashes

Hashes for django_emoji_picker-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c8e3b89ee941ae849de6a677efbe2e1c329ee2d2e2afba66d947194ca53eedaa
MD5 589be612cbc166a82723decf8bd15524
BLAKE2b-256 7ed5e5b1e062a4793ffd187cd4b430fc68cd446f03df6bcad73f94989148c67d

See more details on using hashes here.

Supported by

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