Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tvrtkom/plupload-django
Using plupload with django to provide nice html5/flash/... uploads with progressbar
https://github.com/tvrtkom/plupload-django
Last synced: about 7 hours ago
JSON representation
Using plupload with django to provide nice html5/flash/... uploads with progressbar
- Host: GitHub
- URL: https://github.com/tvrtkom/plupload-django
- Owner: TvrtkoM
- Created: 2012-08-27T16:34:03.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-08-27T17:07:00.000Z (over 12 years ago)
- Last Synced: 2023-03-11T16:07:46.672Z (almost 2 years ago)
- Language: JavaScript
- Size: 414 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Preparations
------------install django-handlebars from here (allows to use EmberJS)
git://github.com/TvrtkoM/django-handlebars.gitadd 'django_handlebars' to settings.INSTALLED_APPS
and of course this apps name (whatever u named it - eg. 'fileupload')append this to settings.py:
HANDLEBARS_USE_EMBER = True
HANDLEBARS_TPL_DIR = path.join(path.dirname(path.abspath(__file__)), 'static', 'js', 'templates-src')
HANDLEBARS_TPL_CMPDIR = path.join(path.dirname(path.abspath(__file__)), 'static', 'js', 'templates')install nspr:
sudo aptitude install libnspr4 libnspr4-dev (on Ubuntu)install python-spidermonkey:
pip install python-spidermonkeyadd something like this to project urls.py url patterns:
url(r'^fileupload/', include('fileupload.urls'))run:
./manage.py collectstatic
./manage.py compilehandlebars
./manage.py runservergo to:
http://127.0.0.1:8000/fileupload/I think that's it.