How to connect the external independent template(contains of javascript and ajax) with django backend to POST the zip file to external template

2020-04-25 Thread yashwanth balanagu
connect the external independent template(contains of javascript and ajax) with django backend to pass the image from front end and get the image in backend convert into the zip file and post to external javascript template -- You received this message because you are subscribed to the Google

Re: Zip file upload

2019-01-01 Thread Joel Mathew
No ready made solution. You have to come up with your own solution. Use form to upload file On Wed, 2 Jan, 2019, 9:57 AM Suresh hi guys, > How to upload zip file and save unzip file in django? > > -- > You received this message because you are subscribed to the Google Groups >

Zip file upload

2019-01-01 Thread Suresh
hi guys, How to upload zip file and save unzip file in django? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@google

ZIP file in Django

2018-12-20 Thread Suresh
hi guys, How to upload zip file and save unzip file in django? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@google

Re: returning a zip file for download

2018-02-20 Thread Ryan Nowakowski
C+2), Tomas Neme escribió: > > > > > > Down here's the code in which I'm creating a zip file with a bunch of pdf > > labels, and returning it on the HttpResponse for the user to DL it. > > > > The weird thing is that I'm getting just a pdf file (ok, I'm testing with &g

Re: returning a zip file for download

2018-02-20 Thread Iago Otero
creating a zip file with a bunch of pdf > labels, and returning it on the HttpResponse for the user to DL it. > > The weird thing is that I'm getting just a pdf file (ok, I'm testing with > a single file, so I don't know if that's the problem) and I can't set the > downloaded fi

Re: zip file

2017-09-07 Thread Anish Chapagain
Hi, You can use requests or urllib , was there in similar condition before and this is the Link that helped me: https://stackoverflow.com/questions/16760992/how-to-download-a-zip-file-from-a-site-python might be useful to you too On Thursday, 7 September 2017 13:42:24 UTC+5:45, vishnu

Re: zip file

2017-09-07 Thread Andréas Kühne
/questions/345/unzipping-files-in-python >> >> Hope some of that helps, >> >> Regards, >> >> Andréas >> >> 2017-09-07 9:57 GMT+02:00 vishnu bhand <bhand...@gmail.com>: >> >>> hello , i want to download zip file from web i

Re: zip file

2017-09-07 Thread vishnu bhand
elps, > > Regards, > > Andréas > > 2017-09-07 9:57 GMT+02:00 vishnu bhand <bhand...@gmail.com >: > >> hello , i want to download zip file from web into my django-project and >> save all it's file content to model ...So how should i go? >> >> -- &g

Re: zip file

2017-09-07 Thread vishnu bhand
how should i download zip from web? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email

Re: zip file

2017-09-07 Thread Andréas Kühne
erflow.com/questions/345/unzipping-files-in-python Hope some of that helps, Regards, Andréas 2017-09-07 9:57 GMT+02:00 vishnu bhand <bhandvis...@gmail.com>: > hello , i want to download zip file from web into my django-project and > save all it's file content to model ...So how sho

zip file

2017-09-07 Thread vishnu bhand
hello , i want to download zip file from web into my django-project and save all it's file content to model ...So how should i go? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving e

zip file

2017-09-07 Thread vishnu bhand
hello , -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to

Re: returning a zip file for download

2012-08-01 Thread Tomas Neme
OK, I got it working, I'm not sure what the problem was, but calling the loop variable 'file' was overriding the python default file object class now I'm doing this: response = HttpResponse(File(file(tmp[1])), mimetype="application/zip") response['Content-disposition'] =

Re: returning a zip file for download

2012-07-31 Thread Javier Guerra Giraldez
On Tue, Jul 31, 2012 at 5:03 PM, Tomas Neme wrote: > The weird thing is that I'm getting just a pdf file (ok, I'm testing with a > single file, so I don't know if that's the problem) shoot in the dark: maybe the browser is interpreting the zipped PDF as a zip-encoded

Re: returning a zip file for download

2012-07-31 Thread Nikolas Stevenson-Molnar
response _Nik On 7/31/2012 3:03 PM, Tomas Neme wrote: > > Down here's the code in which I'm creating a zip file with a bunch of > pdf labels, and returning it on the HttpResponse for the user to DL it. > > The weird thing is that I'm getting just a pdf file (ok, I'm testing > wi

returning a zip file for download

2012-07-31 Thread Tomas Neme
Down here's the code in which I'm creating a zip file with a bunch of pdf labels, and returning it on the HttpResponse for the user to DL it. The weird thing is that I'm getting just a pdf file (ok, I'm testing with a single file, so I don't know if that's the problem) and I can't set

Re: failed to run PROJ/manage.py in zip file

2011-07-13 Thread Cal Leeming [Simplicity Media Ltd]
> Hi, > > I would like to compress my DJANGO project into one zip file (all > *.pyo files) and then do basic testing and deploy. Now I found PROJ/ > manage.py in zip file can not be invoked. > > It seems it is caused by imp.find_module() failed to find the > 'setting

failed to run PROJ/manage.py in zip file

2011-07-13 Thread Robert Nie
Hi, I would like to compress my DJANGO project into one zip file (all *.pyo files) and then do basic testing and deploy. Now I found PROJ/ manage.py in zip file can not be invoked. It seems it is caused by imp.find_module() failed to find the 'settings' module. The code looks like

Re: Upload ZIP-File into Database

2009-02-09 Thread Karen Tracey
On Mon, Feb 9, 2009 at 4:37 AM, Robert <meusburger.rob...@aon.at> wrote: > > Hi Karen, > > I didn't mind to start a quiz... > The problem is that in the code above django seems to control if the > ZIP-File contains Images. I'm not sure but when I take a ZIP-File

Re: Upload ZIP-File into Database

2009-02-09 Thread Ariel Mauricio Nunez Gomez
I did that once and had no problem customizing GalleryUpload for my needs. Try start writing some code and get back to us if it fails. http://code.google.com/p/django-photologue/source/browse/trunk/photologue/models.py#194 Ariel. --~--~-~--~~~---~--~~ You

Re: Upload ZIP-File into Database

2009-02-09 Thread Robert
Hi Karen, I didn't mind to start a quiz... The problem is that in the code above django seems to control if the ZIP-File contains Images. I'm not sure but when I take a ZIP-File which contains Images there is no problem, but when I take my ZIP-File I always get the error: BadZipfile - File

Re: Upload ZIP-File into Database

2009-02-08 Thread Karen Tracey
On Sun, Feb 8, 2009 at 7:24 AM, Robert <meusburger.rob...@aon.at> wrote: > > Dear Community, > > I have a ZIP-File which contains five .lst-Files. I want to fill with > these five files a mysql-database. Is there a possibility to handle > this via the admin interfac

Upload ZIP-File into Database

2009-02-08 Thread Robert
Dear Community, I have a ZIP-File which contains five .lst-Files. I want to fill with these five files a mysql-database. Is there a possibility to handle this via the admin interface? I tried the following but it doesn't work: from django import forms from django.contrib import admin from

MemoryError with zip file upload

2008-01-10 Thread [EMAIL PROTECTED]
me upload those files when i'm sure that the contents are of a specific type. In order to check the file comes in the request variable but when the zip file is around 20 mb i get the following error message data = self._sock.recv(recv_size) MemoryError followed by error: (32, 'Broken pipe') Can