1
0
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:
Loic Bistuer
2015-01-26 10:28:57 +07:00
parent 3a4c9e1b43
commit 728b6fd9ca
11 changed files with 186 additions and 180 deletions

View File

@@ -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):