Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for django-emoji-picker, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size django_emoji_picker-0.0.6-py3-none-any.whl (296.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-emoji-picker-0.0.6.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page