Re: Upload ZIP-File into Database

2009-02-09 Thread Karen Tracey
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 is no problem, but when I take

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 receiv

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 is not

Re: Upload ZIP-File into Database

2009-02-08 Thread Karen Tracey
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't > work: > This so

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 cStrin