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.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_emoji_picker-0.0.4-py3-none-any.whl (248.7 kB) Copy SHA256 hash SHA256 Wheel py3
django-emoji-picker-0.0.4.tar.gz (3.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

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