mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #24219 -- Moved SelectDateWidget together with the other widgets
and deprecated django.forms.extras. Thanks Berker Peksag and Tim Graham for the reviews.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
from django import forms
|
||||
from django.forms.extras import SelectDateWidget
|
||||
|
||||
from .models import Company
|
||||
|
||||
@@ -14,7 +13,7 @@ class I18nForm(forms.Form):
|
||||
|
||||
|
||||
class SelectDateForm(forms.Form):
|
||||
date_field = forms.DateField(widget=SelectDateWidget)
|
||||
date_field = forms.DateField(widget=forms.SelectDateWidget)
|
||||
|
||||
|
||||
class CompanyForm(forms.ModelForm):
|
||||
|
||||
Reference in New Issue
Block a user