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

Django4 #112

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Django4 #112

wants to merge 6 commits into from

Conversation

bernd-wechner
Copy link

Trivial changes for Django 4 compatibility. If these introduce Django 3 compatibility issues (which I doubt) then the change may need to be surrounded by a version check.

bernd-wechner and others added 6 commits January 28, 2019 14:52
…ed querysets

I was supplyin a queryset which was already distcint! And moreover I am using .distinct(field) in order to make a complex inetraction between url filters and Window functions work. Works a dream in fact except that url_filter was clobberig the necessary DISTINCT ON clause in my query. 

THis is where it happened and it was because it paid no heed to the existing status of the querie's distinct() setting. It neeed only apply distinct() if the caller has anot already applied on (not least as called knows what fields they need to distinguish on.
Simple spelling mistake. It's quiet not quite. Well a comix might say it's quite quiet ;-).
Sounds good. Thanks for the suggestion! Am on a learning curve here. And of course the only goal is that the stated one, that an existing DISTINCT clause be honored and not clobbered.

Co-Authored-By: bernd-wechner <[email protected]>
@humbertolopezleon
Copy link

@bernd-wechner I would like to know if you have an upcoming date to release support for Django 4

@bernd-wechner
Copy link
Author

@bernd-wechner I would like to know if you have an upcoming date to release support for Django 4

I don't do releases. Wondering if @miki725 is?

@Arti3DPlayer
Copy link

Can we merge this PR ?

@rh0dium
Copy link

rh0dium commented Jul 8, 2022

Does anyone have this (and other improvements) forked. I think the maintainer is no longer committed to this?

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.

5 participants