Django Ajax Image Upload
Upload images via ajax.
Documentation
The full documentation is at https://django-ajax-image-upload.readthedocs.io.
Quickstart
Install Django Ajax Image Upload:
pip install django-ajax-image-upload
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'ajaximage',
...
)
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
models.py
Features
TODO
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Credits
History
0.4.0 (2018-01-28)
First release on PyPI.
Metadata
Release files for django-ajax-image-upload 0.9.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-ajax-image-upload-0.9.4.tar.gz | 17.2 kB | Without provenance | Details for django-ajax-image-upload-0.9.4.tar.gz |
Release files / django-ajax-image-upload-0.9.4.tar.gz
| Download URL | django-ajax-image-upload-0.9.4.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6aea05c427c5b6bc5521bb3c3ec5439fd411343b71f89cb6eb55198be7b74eb8
|
|
BLAKE2b-256 checksum How to use checksums |
a837b634feeb022f18f3899b8a0df0a85520069ccad9f25afe4be1729d67988d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Security for django-ajax-image-upload 0.9.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.