Changes between Version 3 and Version 4 of Ticket #25615
- Timestamp:
- Oct 27, 2015, 9:54:46 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25615 – Description
v3 v4 1 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 telling me: `Relation fields do not support nested lookups`. 1 He all, 2 3 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 4 it keeps trowing me: Relation fields do not support nested lookups 2 5 3 6 for example on 4 `adds = ProfielenFlirts.objects.filter(voor__user__profielenuserprofile__fictief=True).filter(Q(antwoord='') | Q(antwoord__isnull=True)).count()` 7 adds = ProfielenFlirts.objects.filter(voor__user__profielenuserprofile__fictief=True).filter(Q(antwoord='') | Q(antwoord__isnull=True)).count() 5 8 6 9 ProfielenFlirts is a non default database, the relation lookup is in the same database do. … … 8 11 9 12 my router 10 {{{11 13 class DatingRouter(object): 12 14 def db_for_read(self, model, **hints): … … 32 34 else: # but all other models/databases are fine 33 35 return True 34 }}} 36 37 any help would be appriciated