-
Notifications
You must be signed in to change notification settings - Fork 285
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
Add support for Django 5.1 by removing deprecated features #534
base: main
Are you sure you want to change the base?
Add support for Django 5.1 by removing deprecated features #534
Conversation
1976c27
to
bb214e9
Compare
Hi @farridav, sorry to be a pain, but I've migrated my GH account from my work to personal account so I can continue to make contributions for as long as possible. Would it be okay to help contribute/maintain from my current account instead, please? |
Sure, makes sense |
bb214e9
to
24462df
Compare
Hey, just a headsup django just release the stable 5.1 so would be lovely if tihs PR could be merged soonish and a new version release. Thanks for all the awesome work, much much appreciated 😊 |
24462df
to
80dccb1
Compare
would love to see this merged in - this is now a blocking issue on a fresh Django project |
There is only one Django feature used here that is removed in >=5.0 which is the `length_is` filter query: ``` RemovedInDjango51Warning: The length_is template filter is deprecated in favor of the length template filter and the == operator within an {% if %} tag. ``` A trivial change to make and the `length` feature if backwards compatile to the earliest support version this repo supports of 2.2.
The documentation was really easy to follow, but noticed that these comamnds for setting up the test app was already defined in the Makefile, so just repointed the development documentation to use the Make command instead.
80dccb1
to
913e795
Compare
already resolved in v.3.0.1 |
There is only one Django feature used here that is removed in >=5.0, which is the
length_is
filter query:It is a trivial change to make, and the
length
feature if backwards compatible to the earliest support version this repo supports of 2.2.Preview of
fieldsets
, which has been modified in this PR:As this is my first PR, I've also added in some QoL changes for new devs working in this repo. Hopefully that's okay 🙂