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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for django-image-uploader-widget-0.1.7.tar.gz
Algorithm Hash digest
SHA256 d67326d0add17bcf891615f91f665f22f4b45263876ca4c7d90cc85504be3e8d
MD5 e8b9284e96781d3741566aeb2dd6e147
BLAKE2b-256 06c0455010f27704ddf032b4b2a1e63c8b61cf7d93a46dbc9759b93908377892

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_image_uploader_widget-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7eeda91d802b29879304043db3db89cef9bf341a61aef3eced5c119301bc3eb9
MD5 b49294a89ca9dd078b16ee4eaf1927c6
BLAKE2b-256 e408bf854d7851fa2fc7b57a4dff5873b927155eed526ac09a9befcb95510fad

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