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.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05073117418866dcf25729fac18e59019863b0aa5960f2d53e02f2acd777bb09 |
|
MD5 | 04a15f54a67b1cf2feb452814433d1ed |
|
BLAKE2b-256 | 3d2691583326d6409f46cf777c461f602efc96e348c0dfe9feef68d12023434c |
Close
Hashes for django_image_uploader_widget-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e7da42d2d5fbde6573bf2cd4ef5c61afdc2256041a2332e7fb168b3210882ec |
|
MD5 | 1e206a04e21de1d6c248b65aac50d6d4 |
|
BLAKE2b-256 | 4e701f8096c4839ec44dff38fd000a7321d5dfebe6a573ef661afd5f3fca07c1 |