garmoncheg / django_multiuploader Goto Github PK
View Code? Open in Web Editor NEWdjango multiple file uploader plugin AJAX (no flash)
Home Page: http://garmoncheg.blogspot.com/
django multiple file uploader plugin AJAX (no flash)
Home Page: http://garmoncheg.blogspot.com/
Getting this error. Installed multiuploader via pip. Added it to INSTALLED_APPS in settings.py, added the urls settings as guided in the readme, copied files from media to site media but still getting this error:
File "/Users/user/projects2/hhl/auctions4/virtualenv/lib/python2.7/site-packages/django/template/base.py", line 328, in invalid_block_tag
raise self.error(token, "Invalid block tag: '%s'" % command)
TemplateSyntaxError: Invalid block tag: 'multiupform```
Request Method: POST
Request URL: http://127.0.0.1:8000/multi/
Django Version: 1.3
Exception Type: ImproperlyConfigured
Exception Value:
multipuloader_image isn't a storage module.
Exception Location: /Users/user/projects/venv/lib/python2.6/site-packages/django/core/files/storage.py in get_storage_class, line 260
Python Executable: /Users/user/projects/venv/bin/python
... so we can do
pip install django-multiuploader
! Thanks.
I keep getting an error when I go to my url for /multi
I only get text ont he page that says "Only POST accepted."
Is there any way I can fix this and get the actual multiuploader
hi there i did what you said in the tutorial but i am getting a "Uncaught TypeError: Object [object Object] has no method 'fileupload'"
i copied the folder in media to my site_media so i dont understand.
Oh another thing, it does upload, but the css, js do not seem to work, and it redirects me to a page where i only the the json information. how can i get this to work in my project?
thanks
I added everything to my existing django project, but I keep getting an error saying Error: No module named multiuploader
In my settings underneath installed apps i have multipuploader listed.
Do you have to install it to my virtual environment?
At line 34
From Django>=1.8, TOKEN_VAR
and TOKEN_BLOCK
are available in django.template.base
It's confusing for a newbie, any chance you have an example for the models, views, forms, and templates?
I'm getting a .json returned in the browser after the start upload button is pressed, I have this happening in both my project and the example project at (which was last updated 1 year ago, and I had to copy-paste some html and css from the 'real' project ontop of the example project ).
https://github.com/garmoncheg/django_multiuploader_example_usage/
I've confirmed the first image does get uploaded through a post, but only one post happens regardless of how many images there are. The first image has an entry in the database as well as the file exists in the folder. Even the json's thumbnail url resolves correctly.
Is it possible to update the example project to have it working on checkout? I have a feeling my Frankenstein copy-paste is only adding to the confusion.
First thanks for the plugin , I am quite new to django and it looks really helpful.
I just wanted to highlight that apparently, django.conf.urls.defaults library is no more supported by django 1.6. Can you please update the code for future developers ?
Issam
'multiuploader' is not a valid tag library: ImportError raised loading multiuploader.templatetags.multiuploader: cannot import name simplejson
Django version 1.8.4
Fix: In forms.py and views.py, import and use json
.
You use a strange way to show jquery templates in django. Use the template tag verbatim - https://gist.github.com/629508, example - https://github.com/joshbohde/django-backbone-example/blob/master/backbone_example/templates/index.html
I keep getting an internal server error. but the photos seem to be adding fine into the correct folder and everything.
Hi, I'm interested in using this in a project. Would you mind adding a license of some kind? Perhaps MIT like the jQuery File Upload Plugin. Thanks!
hi ,
i am using your package for multiupload
i added url in url.py
added "multiuploader" in install app in setting.py
add view in my views.py
def multi_show_uploaded(request, key):
image = get_object_or_404(MultiuploaderImage, key_data=key)
url = settings.MEDIA_URL+image.image.name
return render_to_response('multiuploader/one_image.html', {"multi_single_url":url,})
after whem i add template tag in my tempalate
{% load multiuploader %}
{% multiupform %}
so it gives error
"TemplateSyntaxError at /en/product/add_product/
Invalid block tag: 'multiupform', expected 'elif', 'else' or 'endif'"
Anything is remain for configure your package so please let me know
Is it required to define model in my models.py or not?
I am not define any models in models.py
in doc i read that
Add a way to specify which model to use to store files.
so pls tell me where i specify that which model to use to store files.
Should i create my separate models or not
Please help
Thanks in Advance!!
I followed directions exactly and am getting "failed to find libmagic. Check your installation" error
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.