• This repository has been archived on 12/Aug/2020
  • Stars
    star
    579
  • Rank 77,126 (Top 2 %)
  • Language
    HTML
  • License
    MIT License
  • Created over 13 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A minimal django project containing a minimal app with a working jquery file upload form based on the work by Sebastian Tschan: http://aquantum-demo.appspot.com/file-upload

jQuery-File-Upload is developed by Sebastian Tschan, with the source available on github. Example code is ported to Django by Sigurd Gartmann (sigurdga on github).

Introduction

This is a small example on how to setup Sebastian Tschan's jQuery File Upload in Django. He has a working demo on his webpage and a github repository with an example on how to do it in PHP.

Here, you'll find a minimal Django project with a minimal app. You can run the example standalone by cloning the repository, running the migrations and starting the server.

I want to give a thank to Sebastian Tschan, the original author, Etay Cohen-Solal, for the latest major update, and Jørgen Bergquist for helping me over the first hurdles.

Features

  • Drag and drop files
  • Select multiple files
  • Cancel upload
  • Delete uploaded file (from database only)
  • No flash (or other browser plugins) needed
  • … more at the upstream's features page

Requirements

  • Django
  • Python Imaging Library

If you do not get PIL to work (pillow is a replacement package that works with virtulalenvs), use FileField instead of ImageField in fileupload/models.py as commented in the file.

Installation

I recommend to install this within a virtualenv.

virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
./manage.py migrate
./manage.py runserver

And then go to localhost:8000 and try to upload some files.

License

MIT, as the original project. See LICENSE.txt.

More Repositories

1

ls-colors-solarized

A minimal fork of https://github.com/seebi/solarized/tree/master/ls-colors-solarized (not possible to fork a fork, when I already had forked the original)
69
star
2

django-dropzone-upload

Minimal example project for integrating Dropzone.js with Django
JavaScript
42
star
3

express-multer-dropzone-example

Example of using Express and Multer, with or without Dropzone
JavaScript
19
star
4

django-by-errors

A Django tutorial jumping between error messages
Python
17
star
5

maps

Maps for Gnome and Ubuntu — not an official version
Python
7
star
6

samklang-media

Upload and storage for Samklang
Python
2
star
7

samklang-payment

Donations and payment app for Samklang
Python
2
star
8

samklang-utils

Utils common for Samklang apps
JavaScript
2
star
9

samklang-menu

Menu app for Samklang
Python
2
star
10

digitaltpersonvern

Web page setup for digitaltpersonvern.no, using django
CSS
2
star
11

irssi-theme-solarized

I want to make a theme that looks good with solarized colored terminals
2
star
12

samklang-planning

Simple scrum module for Samklang
Python
1
star
13

samklang-pages

Pages module for Samklang
Python
1
star
14

samklang

JavaScript
1
star
15

nidarholm

Django project with built-in apps for nidarholm.no. Use at your own risk, expect everything to break. All built-in apps will by time be replaced by external ones that are more mature.
Python
1
star
16

skravvel

Example project using node-irc
JavaScript
1
star
17

programmeringsboka

I wish there was a good introduction to programming in Python in Norwegian
1
star
18

Smart113

Python
1
star
19

socketio-map-example

A small example showing how to update a Mapbox map using Socket.io on Express.
JavaScript
1
star
20

samklang-blog

Blog app for Samklang
Python
1
star