Changes between Initial Version and Version 1 of Ticket #14566


Ignore:
Timestamp:
Oct 26, 2010, 12:29:08 PM (14 years ago)
Author:
Alex Gaynor
Comment:

Reformatted description, please use preview.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14566 – Description

    initial v1  
    22
    33If I perform a filter using the 'scenes' DB I get the expected results:
    4 
     4{{{
    55Scene.objects.filter(name__contains='ME').using('scenes')
    66[<Scene: Scene object>, <Scene: Scene object>]
    7 
     7}}}
    88If I perform a get(), Django seems to get completely confused and appears to read the data from the default database:
    9 
     9{{{
    1010Scene.objects.get(id=3).using('scenes')
    1111Traceback (most recent call last):
     
    2929DatabaseError: relation "scene" does not exist
    3030LINE 1: ...le", "scene"."datasets", "scene"."transform" FROM "scene" WH...
    31 
     31}}}
    3232
    3333Anyone else seen this?
Back to Top