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

replace a removed method is_ajax() in Django 4.0 with an alternative #228

Closed
wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 1, 2022

form_valid() has already been fixed as below:

if self.request.headers.get('x-requested-with') == 'XMLHttpRequest':

But form_invalid() hasn't yet. The patch fixes it.

ref: #221

@josefdlange
Copy link

Bump! How can we work to get this merged in an a release cut?

@adi- adi- closed this Mar 23, 2023
@adi-
Copy link
Member

adi- commented Mar 23, 2023

done

@bellini666
Copy link
Contributor

bellini666 commented Mar 23, 2023

@adi- can we get a new release for the fix? I'm currently relying on installing this from git to for my django 4.1 projects

Oh, nvm, just saw that a new release as already made =P

@adi-
Copy link
Member

adi- commented Mar 23, 2023

It is published. version 4.0.0

@max747 max747 deleted the replace-removed-method branch March 28, 2023 13:06
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.

None yet

3 participants