Simple Universal Uploader Widget for Django-Admin
Project description
django-universal-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-universal-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',
'universal_uploader_widget',
]
Usage
# forms.py
from django import forms
from universal_uploader_widget.widgets import ImageUploaderWidget
class ExampleForm(forms.ModelForm):
class Meta:
widgets = {
'image': ImageUploaderWidget(),
}
fields = '__all__'
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-universal-uploader-widget-0.2.2.tar.gz.
File metadata
- Download URL: django-universal-uploader-widget-0.2.2.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f638618dcdfe5d71f29a8a4ebc6b06c5920a06cc08ceda09bca3976bf1f69e0
|
|
| MD5 |
17b65e67aad1b7958cd07369aa926514
|
|
| BLAKE2b-256 |
675dc73873ce4420b5f00f0351dfadfc9636218b2c9cbed604e2820f52fefb95
|
File details
Details for the file django_universal_uploader_widget-0.2.2-py3-none-any.whl.
File metadata
- Download URL: django_universal_uploader_widget-0.2.2-py3-none-any.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f9b14a1c0cd09db11b623617ce04bcc30cf34c40f14bf15fdff758a37c09dfc
|
|
| MD5 |
b698369bbe6e6f6d0b3a5524a7871950
|
|
| BLAKE2b-256 |
92c65ebea27535af6624d37b831bc25a4ac72399dbc9a7b4398d763be5134271
|