Django application contain jquery-uploader static files.
Project description
django-static-dm-file-uploader
Django application contains jquery dm-file-uploader plugin.
Install
pip install django-static-dm-file-uploader
Usage
pro/settings.py
INSTALLED_APPS = [
...
"django_static_dm_file_uploader",
...
]
app/templates/view.html
{% load static %}
{% block header %}
<link rel="stylesheet" type="text/css" href="{% static "dm_file_uploader/css/jquery.dm-uploader.min.css" %}">
<script src="{% static "admin/js/vendor/jquery/jquery.js" %}"></script>
<script src="{% static "dm_file_uploader/js/jquery.dm-uploader.min.js" %}"></script>
<script src="{% static "admin/js/jquery.init.js" %}"></script>
{% endblock %}
开源协议
所有静态文件下载自:https://github.com/danielm/uploader
。开源协议详见:https://github.com/danielm/uploader/blob/master/LICENSE.txt
。
Releases
1.0.2.2
- First release.
1.0.2.3
- Fix app name problem.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-static-dm-file-uploader-1.0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0942d97875952f9bb2cf36ce710b07a7074381578942d56d8345914ecc095548 |
|
MD5 | bcff0ae151fa3d01a76a2f5cb9f976b0 |
|
BLAKE2b-256 | 7cbf363e0919877d77f4de59f8946caf47c1008f4d4d5676c581b26cc690dca8 |
Close
Hashes for django_static_dm_file_uploader-1.0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bd4b45579b0ab1848fa3a225744d2c3a3bd8a9605fb3dcfaa18a72b03fecde2 |
|
MD5 | f79abf00e6a435fc4a8e0837ac9c82dd |
|
BLAKE2b-256 | a6d44407894ae8382c0d1900ad23aa850f476026fbe01cc865cac28fb2969aed |