Simple Image Uploader Widget for Django-Admin
Project description
django-image-uploader-widget
A beautiful image uploader widget for django/django-admin.
Documentation
To understand this package and how to use it you can access the package documentation.
Installing
Install via pip package manager:
pip install django-image-uploader-widget
Add to installed apps, in settings.py
:
INSTALLED_APPS = [
'my_app.apps.MyAppConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.forms',
'image_uploader_widget',
]
Usage
# forms.py
from django import forms
from image_uploader_widget.widgets import ImageUploaderWidget
class ExampleForm(forms.ModelForm):
class Meta:
widgets = {
'image': ImageUploaderWidget(),
}
fields = '__all__'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-image-uploader-widget-0.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0077abc235cc734e5c0dc6ef491b002bf24983d48454ceae96a35b85439a67f6 |
|
MD5 | ae7bdd3dcf6e1e72f31266fdf2cbd6a3 |
|
BLAKE2b-256 | 27076a36ffd8ad5834f3f62a5342c30755ab3a249744365b91d29bf4877d2e56 |
Close
Hashes for django_image_uploader_widget-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29eba1a852aac5c3e51c3e07a6ac540a7570ca2e9e9f9598f607278ff54ccc5a |
|
MD5 | 8e12f51d1c9fc0ecd37ebd061571698d |
|
BLAKE2b-256 | 5d7a24f8577285e8f8430d6c627f744f4ac2aa47227aef3382545f39f25f2c1e |