Changes between Initial Version and Version 3 of Ticket #25615
- Timestamp:
- Oct 27, 2015, 8:21:13 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25615
- Property Component Uncategorized → Database layer (models, ORM)
- Property Type Uncategorized → Bug
- Property Summary multidm Relation fields do not support nested lookups → multidb Relation fields do not support nested lookups
- Property Resolution → needsinfo
- Property Status new → closed
-
Ticket #25615 – Description
initial v3 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 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`. 5 2 6 3 for example on 7 adds = ProfielenFlirts.objects.filter(voor__user__profielenuserprofile__fictief=True).filter(Q(antwoord='') | Q(antwoord__isnull=True)).count() 4 `adds = ProfielenFlirts.objects.filter(voor__user__profielenuserprofile__fictief=True).filter(Q(antwoord='') | Q(antwoord__isnull=True)).count()` 8 5 9 6 ProfielenFlirts is a non default database, the relation lookup is in the same database do. … … 11 8 12 9 my router 10 {{{ 13 11 class DatingRouter(object): 14 12 def db_for_read(self, model, **hints): … … 34 32 else: # but all other models/databases are fine 35 33 return True 36 37 any help would be appriciated 34 }}}