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.0.tar.gz (1.8 MB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-universal-uploader-widget-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fdeb9f43d101c0b6ea5d3dd7623a1a749df49a9135402a56d091094e39767190
MD5 e87bb6c0748e3face648baadd60ff399
BLAKE2b-256 60b8c76530bdc641ebb9a2d3c43f0f5f716d421dd7dfd19883ce6987a2ecb078

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