Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ForeignKeys in views, make it possible to use a database alias for synchronisation #1

Closed
wants to merge 2 commits into from

Conversation

si14
Copy link

@si14 si14 commented Jun 2, 2020

Hey there!

This is a combination of https://github.com/mypebble/django-pgviews/pull/52/files and another fix that we use in production (ForeignKeys don't work properly with views unless deep copy is used on copied fields). Sorry for two things at once, but it'd just be nice to have it all upstreamed.

Paging @seroy who did both fixes.

@mikicz
Copy link
Collaborator

mikicz commented Jul 1, 2020

Hi, I think code looks good, but I would appreciate some tests to test the behaviour before pushing it out

@mikicz mikicz mentioned this pull request Nov 17, 2021
@mikicz
Copy link
Collaborator

mikicz commented Nov 22, 2021

Implemented in #10

@mikicz mikicz closed this Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants