Re: Wierd FileField behavior

2009-02-12 Thread numshub
Had a look at diff from 9765 and 9766. I think thata changes in release 9766 in db/models/fields/files.py somewhow broke admin site. 9766 address ticket #10044 allowing direct assignment of File object. It extends FileField model capability so I think we should focus to solve the issue on admin

Re: Wierd FileField behavior

2009-02-12 Thread numshub
> I tried both 9765 and 9766. > Indeed, in 9765 I don't come accross the problems mentioned. In 9766 I > do. > > Files that were changed between these versions (by Jacob): > db/models/fields/files.py > core/files/base.py > > Erwin I have the same problem too. 9765 works fine. 9766 doesn't. I'm

Re: Wierd FileField behavior

2009-02-03 Thread Erwin Elling
> Revision 9766 introduced some changes related to file fields, can > you try to refine your tests and see if it is the one that broke > things in your case and report back please? I tried both 9765 and 9766. Indeed, in 9765 I don't come accross the problems mentioned. In 9766 I do. Files that

Re: Wierd FileField behavior

2009-02-03 Thread thanhduclee
Cool, you saved my life On Feb 3, 10:50 pm, Ramiro Morales wrote: > On Tue, Feb 3, 2009 at 9:40 AM, Erwin Elling wrote: > > >> I went back to 9781 (which was still on my system for a previous > >> project) and the problem seems not to exist here.

Re: Wierd FileField behavior

2009-02-03 Thread Ramiro Morales
On Tue, Feb 3, 2009 at 9:40 AM, Erwin Elling wrote: > >> I went back to 9781 (which was still on my system for a previous >> project) and the problem seems not to exist here. Haven't had the time >> to dig into this any further, but maybe this helps someone else. > >

Re: Wierd FileField behavior

2009-02-03 Thread Erwin Elling
> I went back to 9781 (which was still on my system for a previous > project) and the problem seems not to exist here. Haven't had the time > to dig into this any further, but maybe this helps someone else. Sorry, made a mistake; On 9781 the problem is still there. On 9084 (also quite randomly

Re: Wierd FileField behavior

2009-02-03 Thread Erwin Elling
On Feb 3, 12:10 pm, Erwin Elling wrote: > It's probably not DrKayBee's view that's causing problems. Seems like > it's the adminviews. This was on the latest svn revision (9807). I went back to 9781 (which was still on my system for a previous project) and the problem

Re: Wierd FileField behavior

2009-02-02 Thread timc3
Show us the code for your view. But are you sending through the files in the POST each time? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Wierd FileField behavior

2009-01-31 Thread DrKayBee
Hi, I have a simple profile model which includes the option to upload a File (FileField) and a photograph (ImageField). These two fields show somewhat undesirable behavior: (1) Let's say I create a profile and upload a photo through the admin. (2) My member view page shows my photo and other