from django import forms
from manufacturers.models import Manufacturer


class ManufacturerForm(forms.ModelForm):
    website = forms.URLField(required=False)

    class Meta(object):
        model = Manufacturer
        fields = ('name', 'founding_date', 'country')