Changes between Initial Version and Version 1 of Ticket #28173


Ignore:
Timestamp:
May 4, 2017, 12:44:56 PM (7 years ago)
Author:
Evan Heidtmann
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28173 – Description

    initial v1  
    33The two models are in different apps. Both apps are listed in `INSTALLED_APPS` and the calling module imports both `models` modules at top level. One of the models is "replaceable" but I'm using the original model (it's oauth2_provider.Application)
    44
    5 ```
     5{{{#!python
    66# app1/models.py
    77class A(models.Model):
     
    2323   # This line crashes with "FieldError: Cannot resolve keyword 'b' into field. Choices are: ..."
    2424    qs = get_A_model().objects.filter(b__myname='larry')
    25 ```
     25}}}
    2626
    2727
Back to Top