8000 feat: django 5 support for cms 3.11 by protoroto · Pull Request #7724 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content

feat: django 5 support for cms 3.11 #7724

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

Merged
merged 10 commits into from
Dec 21, 2023
Prev Previous commit
Next Next commit
Do not deprecate LazyChoiceField
Co-authored-by: Fabian Braun <fsbraun@gmx.de>
  • Loading branch information
2 people authored and marksweb committed Dec 21, 2023
commit f457dc43a3aba605ef82b9b6116ce1716c74631b
4 changes: 0 additions & 4 deletions cms/forms/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ def __iter__(self):

class LazyChoiceField(forms.ChoiceField):

def __init__(self, *args, **kwargs):
warnings.warn("LazyChoiceField is deprecated. Use Django's ChoiceField instead.",
DeprecationWarning, stacklevel=2)
super().__init__(*args, **kwargs)

@property
def choices(self):
Expand Down
0