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.
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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c27d38d8d8f2c238f0413021c2d13d1d77e1261592085648c5404a6fa3ec59cc |
|
MD5 | 6f8f0b1fd1a0408234fe25f4053c48c5 |
|
BLAKE2b-256 | 964b135340acbb89eab55b843387f745f34505e9fbd86b3326d15eb31e2082f1 |
Close
Hashes for django_static_dm_file_uploader-1.0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 162abb0b45b7533e92c912a53c9bb66445ce7dc6c64687f9eea42ba89f95e447 |
|
MD5 | 8f2637fb3f411b8d848532dbb7b08621 |
|
BLAKE2b-256 | 511ef3b2a2a23da1f24900ff84bcd0f42fbc8e33af87ef78f2efea996f00639d |