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.3.0.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for django-image-uploader-widget-0.3.0.tar.gz
Algorithm Hash digest
SHA256 40b782ad4a62d26a02b90e79f69155f50eba68531d669ad844a4281aa4d9e6ea
MD5 b8e733e7bf690314d225231a4dd0838d
BLAKE2b-256 3a7f1bc150aab5fb464175c9fa317ea222dda0a140090121f3c5e446de862522

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_image_uploader_widget-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d48ee937eb228e6c29854de99bb650e5ad418807fb458b18a7ffdb0938fefa5
MD5 b0437b1976b0ef54da0259ab7cda0c42
BLAKE2b-256 f9b0b28a5bd8bf883b902496373b3bc392676eb0f2bcc2909fd5563a62e76d30

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