Re: Django M2M with Oracle database FieldDoesNotExist error

2016-06-10 Thread Felipe Horta
Hi everyone, I'm following this thread and I'm having the same error. Im running a postgis db, and despite the biginteger pk, my problem is the same. Could you solve it? Thanks! On Monday, August 3, 2015 at 11:16:12 PM UTC-6, mohse...@gmail.com wrote: > > i found that even trying to access the

Re: Django M2M with Oracle database FieldDoesNotExist error

2015-08-03 Thread mohsenbande
i found that even trying to access the relation (i.e. foo.bars) will trigger the same error !!! the only special thing about my model is that i defined foo's primary key as BigIntegerField On Tuesday, August 4, 2015 at 8:15:42 AM UTC+4:30, mohse...@gmail.com wrote: > > Erik, as stated in

Re: Django M2M with Oracle database FieldDoesNotExist error

2015-08-03 Thread mohsenbande
Erik, as stated in documentation , what you said is equivalent to what i did and the error exists yet. to have more details, here is the stack trace: Traceback (most recent call last): File "", line 2, in File

Re: Django M2M with Oracle database FieldDoesNotExist error

2015-08-03 Thread Erik Cederstrand
> Den 03/08/2015 kl. 08.50 skrev mohsenba...@gmail.com: > > Hello Django community. > I have two Django models Foo and Bar that have a ManyToMany relation: > > Class Foo(models.model): > > ... > > bars = models.ManyToManyField('Bar', related_name='foos') > somewhere in the code, i do

Django M2M with Oracle database FieldDoesNotExist error

2015-08-03 Thread mohsenbande
Hello Django community. I have two Django models Foo and Bar that have a ManyToMany relation: Class Foo(models.model): ... bars = models.ManyToManyField('Bar', related_name='foos') somewhere in the code, i do direct assignment