Metadata-Version: 2.1
Name: django-emoji-picker
Version: 0.0.3
Summary: Django app providing text input and textarea widgets with emoji picker
Home-page: https://github.com/wdr-data/django-emoji-picker
Author: Hacking Studio
Author-email: hello@hacking.studio
License: MIT License
Keywords: django emoji widget
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 2.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Description-Content-Type: text/markdown
Requires-Dist: django (<3,>=2)

# django-emoji-picker
Django app providing text input and textarea widgets with emoji picker.
It's based on [emoji-mart](https://github.com/missive/emoji-mart).

## Screenshot
![Screenshot](https://user-images.githubusercontent.com/3945220/40110572-9c6be100-5900-11e8-85a1-63bf21a9a646.png)

## Usage
This package contains a Django app that provides two widgets:

- `EmojiPickerTextInput`
- `EmojiPickerTextarea`

### Example

#### Installation
```bash
$ pip install django-emoji-picker
```

or

```bash
$ pipenv install django-emoji-picker
```

#### `settings.py`
```python
INSTALLED_APPS = [
    ...,
    'emoji_picker',
]
```

#### `<app>/admin/<model>.py` (for use with Django Admin)
```python
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
```bash
$ yarn
$ yarn build
```


