Re: Creating an object with a FileField programmatically

2009-04-26 Thread Malcolm Tredinnick
On Sun, 2009-04-26 at 17:21 -0700, chachra wrote: > I am trying something similar and getting: > > Cannot create a consistent method resolution > order (MRO) for bases File, FieldFile Then you're not doing something too similar, because that's quite different to the error in the post you quote.

Re: Creating an object with a FileField programmatically

2009-04-26 Thread chachra
I am trying something similar and getting: Cannot create a consistent method resolution order (MRO) for bases File, FieldFile Using Django 1.1b Cheers! Sumit On Apr 14, 1:11 pm, Alex Gaynor wrote: > On Tue, Apr 14, 2009 at 4:04 PM, Vincent Foley wrote: > > > Hello, > > > I want to be able t

Re: Creating an object with a FileField programmatically

2009-04-14 Thread Alex Gaynor
On Tue, Apr 14, 2009 at 4:04 PM, Vincent Foley wrote: > > Hello, > > I want to be able to add files inside a model to test that model. > However, I'm unable to find in the documentation any mention on how to > do so. I asked on IRC and somebody suggested the following: > > from django.core.files