Skip to main content

Simple Image Uploader Widget for Django-Admin

Project description

django-image-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-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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-image-uploader-widget-0.2.5.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file django-image-uploader-widget-0.2.5.tar.gz.

File metadata

File hashes

Hashes for django-image-uploader-widget-0.2.5.tar.gz
Algorithm Hash digest
SHA256 b933ae5cd0a2264fc2811a932269d7c6a55edc898861aa4b42518c56cf182c13
MD5 c860e431429f20062d0929d8205be75e
BLAKE2b-256 997cadf612191683f81436998ebe13d08a52984fb59a85dd2b4946a617c5fc3b

See more details on using hashes here.

File details

Details for the file django_image_uploader_widget-0.2.5-py3-none-any.whl.

File metadata

File hashes

Hashes for django_image_uploader_widget-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d8e78a6bdfdba19c1f1dec542af0f019c0d2eaabf7188113d54ac68e0627cfce
MD5 ff46ea186e15ffb0e20b1ff5bf685f72
BLAKE2b-256 0a8758a126457021db734a7861a8aff6265794a5e2889a7a1e589d8f66ddfd78

See more details on using hashes here.

Supported by

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