Skip to main content

Simple Universal Uploader Widget for Django-Admin

Project description

django-universal-uploader-widget

A beautiful image uploader widget for django/django-admin.

Beautiful image uploader widget

Multiple behaviours

Multiple files handling

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

django-universal-uploader-widget-0.2.1.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file django-universal-uploader-widget-0.2.1.tar.gz.

File metadata

File hashes

Hashes for django-universal-uploader-widget-0.2.1.tar.gz
Algorithm Hash digest
SHA256 07d8eb55da7b06a4e72cc5d0b4491840ed320d21657c81cee74f5a5efba4ccc6
MD5 c54e27c88590c1a1075153d64c08174b
BLAKE2b-256 2dcbbe7e9b76291d29b25787125f397df09f9c351f292d3ff28c35f234ab59c6

See more details on using hashes here.

File details

Details for the file django_universal_uploader_widget-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_universal_uploader_widget-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0e17bc37d7afe8a8fe2ea606a79240dbed90ee8c82f557394653bcc8c40a78b1
MD5 1b29be9cbce49fbece70cf7b4352ad3e
BLAKE2b-256 994ba0955bde287d6e151503bb08c6646ba86f3af44c0b2d649776e1adc6dde5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page