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
File details
Details for the file django-image-uploader-widget-0.3.0.tar.gz
.
File metadata
- Download URL: django-image-uploader-widget-0.3.0.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40b782ad4a62d26a02b90e79f69155f50eba68531d669ad844a4281aa4d9e6ea |
|
MD5 | b8e733e7bf690314d225231a4dd0838d |
|
BLAKE2b-256 | 3a7f1bc150aab5fb464175c9fa317ea222dda0a140090121f3c5e446de862522 |
File details
Details for the file django_image_uploader_widget-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: django_image_uploader_widget-0.3.0-py3-none-any.whl
- Upload date:
- Size: 41.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d48ee937eb228e6c29854de99bb650e5ad418807fb458b18a7ffdb0938fefa5 |
|
MD5 | b0437b1976b0ef54da0259ab7cda0c42 |
|
BLAKE2b-256 | f9b0b28a5bd8bf883b902496373b3bc392676eb0f2bcc2909fd5563a62e76d30 |