Changes between Initial Version and Version 1 of Ticket #28173
- Timestamp:
- May 4, 2017, 12:44:56 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28173 – Description
initial v1 3 3 The 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) 4 4 5 ``` 5 {{{#!python 6 6 # app1/models.py 7 7 class A(models.Model): … … 23 23 # This line crashes with "FieldError: Cannot resolve keyword 'b' into field. Choices are: ..." 24 24 qs = get_A_model().objects.filter(b__myname='larry') 25 ``` 25 }}} 26 26 27 27