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
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
>
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...@googlegrou
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...@googlegrou
osto de 2012, 0:03:21 (UTC+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 j
h 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
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
ipping-files-in-python
>>
>> Hope some of that helps,
>>
>> Regards,
>>
>> Andréas
>>
>> 2017-09-07 9:57 GMT+02:00 vishnu bhand :
>>
>>> hello , i want to download zip file from web into my django-project and
>>> save all it's
elps,
>
> Regards,
>
> Andréas
>
> 2017-09-07 9:57 GMT+02:00 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 receive
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
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 :
> 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?
>
> --
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 receiv
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 django-users@googlegroups
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'] = ('attachm
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 response, and decoding it for
quot;whatever.zip'
return 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 get
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 th
d 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 l
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
On Mon, Feb 9, 2009 at 4:37 AM, Robert 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
> which contains Images there
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 receiv
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
On Sun, Feb 8, 2009 at 7:24 AM, Robert 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 interface? I tried the following but it doesn
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
only let's 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,
25 matches
Mail list logo