Re: Reverse relation lookups with multidb

2015-10-27 Thread probleem support
Thanks a lot tim, this has resolved the issue. Lesson learned to jump from 1.6 to 1.8 go release by release. then i would probably seen it. Appreciated ur help do! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group a

Re: Reverse relation lookups with multidb

2015-10-27 Thread probleem support
Tim in my real project that database is a remote database, that shouldn't be in installed apps shouldn't it. but to prove my point it did it with 2 local databases in the test project. in my real project i can't do reverse lookups on the remote database models. -- You received this message beca

Re: Relation fields do not support nested lookups

2015-10-27 Thread probleem support
test project proving my point https://github.com/gerdkoetje/dualdbtest -- 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.

Re: Reverse relation lookups with multidb

2015-10-27 Thread probleem support
test project proving my point https://github.com/gerdkoetje/dualdbtest -- 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.

Re: Relation fields do not support nested lookups

2015-10-27 Thread probleem support
sorry for that, ill spend some time on creating a test project with 2 databases on sqlite But still if anyone is using multidb please confirm to me that this does work in your projects. Any hints will be appreciated -- You received this message because you are subscribed to the Google Groups "

Relation fields do not support nested lookups

2015-10-27 Thread probleem support
He all, Does anyone know why i can't do any relation lookups on any database other then the default database in 1.8.5 this worked fine in 1.6.1 it keeps trowing me: Relation fields do not support nested lookups for example on adds = ProfielenFlirts.objects.filter(voor__user__profielenuserprofi

Re: Reverse relation lookups with multidb

2015-10-24 Thread probleem support
working on that -- 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@goog

Re: Reverse relation lookups with multidb

2015-10-24 Thread probleem support
this worked fine in django 1.6.1 but fails in 1.8.5 -- 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 g

Re: Reverse relation lookups with multidb

2015-10-24 Thread probleem support
same for nieuweklanten = ProfielenUserprofile.objects.values('user__profielenprofielen__profielnaam')[:1] for nieuwe in nieuweklanten: print(nieuwe['user__profielenprofielen__profielnaam']) -- You received this message because you are subscribed to the Google Groups "Django users" group

Re: Reverse relation lookups with multidb

2015-10-24 Thread probleem support
> > nieuweklanten = ProfielenUserprofile.objects.all()[:1] >> for nieuwe in nieuweklanten: >> print(nieuwe.user.profielenprofielen.profielnaam) >> >> >> this for example works fine >> > but doing the same thing but then like this with works fine on i do a similar test on the default db but i

Re: Reverse relation lookups with multidb

2015-10-24 Thread probleem support
we also tried without _set etc. -- 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 d