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.1.6.tar.gz
.
File metadata
- Download URL: django-image-uploader-widget-0.1.6.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c588df032bcbded63d32936d640f08446062cbc9ac874335448e68e724493ea6 |
|
MD5 | 89055c83e0a6cf13344992b9932e7a84 |
|
BLAKE2b-256 | ec4f1b608e3e84a109e7e9388a2c722619f0ba077e52a78879dcc98b73332671 |
File details
Details for the file django_image_uploader_widget-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: django_image_uploader_widget-0.1.6-py3-none-any.whl
- Upload date:
- Size: 32.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ffe20c9cc7a591a07dbae9e58477a2a0bff7ef9077b9cbcd794ee6dfbe044c2 |
|
MD5 | a83170cc3cce8e1b38ec734e1f38697b |
|
BLAKE2b-256 | dbf285577f9341c0f5608fbdcdbc66a3d84c1e74c1d6f7d0ce959beb8fd716fe |