Skip to content

Fix problem where polymorphic_disabled not always present. - #1

Open
stuaxo wants to merge 1 commit into
Kronuz:masterfrom
stuaxo:master
Open

Fix problem where polymorphic_disabled not always present.#1
stuaxo wants to merge 1 commit into
Kronuz:masterfrom
stuaxo:master

Conversation

@stuaxo

@stuaxo stuaxo commented Jun 25, 2012

Copy link
Copy Markdown

Hi,
Not sure if this is technically the right fix, but a query using __in was complaining about the field polymorphic_disabled not being on the model (query.py, line 37). I've worked around this using getattr for the moment.

Cheers,
Stuart

@Kronuz

Kronuz commented Jul 19, 2012

Copy link
Copy Markdown
Owner

The latest should fix this issue and also make polymorphic_disabled thread local safe. Please can you verify the latest master without your patch?

@stuaxo

stuaxo commented Jul 20, 2012

Copy link
Copy Markdown
Author

Verified and it doesn't work everywhere yet (see comment on patch).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants