from django import forms from models import offer class OfferCreateForm(forms.ModelForm): class Meta: model = offer fields = ('title','category')