djangoemojipicker 0.0.6
django-emoji-picker
Django app providing text input and textarea widgets with emoji picker.
It's based on emoji-mart.
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.