Skip to main content

Upload images via ajax.

Project description

Upload images via ajax.


The full documentation is at


Install Django Ajax Image Upload:

pip install django-ajax-image-upload

Add it to your INSTALLED_APPS:


Add Django Ajax Image Upload’s URL patterns:

from ajaximage import urls as ajaximage_urls

urlpatterns = [
    url(r'^', include(ajaximage_urls)),

Define your Image model: .. code-block:: python

from ajaximage.models import AbstractImage

class MyImage(AbstractImage):

# define additional fields here

class Meta:

Define generic tabular inline .. code-block::python

from ajaximage.admin import ImageInline

from .models import MyImage

class MyImageInline(ImageInline):
models = MyImage

Example usage of AjaxImageUploadMixin: .. code-block::python


  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox



0.4.0 (2018-01-28)

  • First release on PyPI.

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-ajax-image-upload-0.9.4.tar.gz (17.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page