from django.forms import ModelForm
from myapp.models import Author


class AuthorForm(ModelForm):


    class Meta:
        model = Author
localized_fields = 'birth_date',
Enable Django format localization by default