from django import forms
from .models import Article,Message
class ArticleForm(forms.ModelForm):
    class Meta:
        model = Article
        fields = [
            "pic",
            "year",
            "km",
            "price",
            "make",
            "model",
            "transmission",
            "fuelType",
            "bodyType",
            "engine",
            "variant",
            "content",
            "isSold",
            "highlighted",

        ]
class MessageForm(forms.ModelForm):
    class Meta:
        model = Message
        fields = [
            "nameSurname",
            "replyOption",
            "phone",
            "mail",
            "subject",
        ]
class MessageAForm(forms.ModelForm):
    class Meta:
        model = Message
        fields = [
            
            "isDone",
            "nameSurname",
            "replyOption",
            "phone",
            "mail",
            "subject",
            "notes",

        ]
ea6ce75aaf92e6a89611d7845a7436a21f87bd2d
<mask token>


class MessageAForm(forms.ModelForm):


    class Meta:
        model = Message
        fields = ['isDone', 'nameSurname', 'replyOption', 'phone', 'mail',
            'subject', 'notes']

<mask token>


class MessageForm(forms.ModelForm):


    class Meta:
        model = Message
        fields = ['nameSurname', 'replyOption', 'phone', 'mail', 'subject']


class MessageAForm(forms.ModelForm):


    class Meta:
        model = Message
        fields = ['isDone', 'nameSurname', 'replyOption', 'phone', 'mail',
            'subject', 'notes']

<mask token>


class ArticleForm(forms.ModelForm):


    class Meta:
        model = Article
        fields = ['pic', 'year', 'km', 'price', 'make', 'model',
            'transmission', 'fuelType', 'bodyType', 'engine', 'variant',
            'content', 'isSold', 'highlighted']


class MessageForm(forms.ModelForm):


    class Meta:
        model = Message
        fields = ['nameSurname', 'replyOption', 'phone', 'mail', 'subject']


class MessageAForm(forms.ModelForm):


    class Meta:
        model = Message
        fields = ['isDone', 'nameSurname', 'replyOption', 'phone', 'mail',
            'subject', 'notes']

from django import forms
from .models import Article, Message


class ArticleForm(forms.ModelForm):


    class Meta:
        model = Article
        fields = ['pic', 'year', 'km', 'price', 'make', 'model',
            'transmission', 'fuelType', 'bodyType', 'engine', 'variant',
            'content', 'isSold', 'highlighted']


class MessageForm(forms.ModelForm):


    class Meta:
        model = Message
        fields = ['nameSurname', 'replyOption', 'phone', 'mail', 'subject']


class MessageAForm(forms.ModelForm):


    class Meta:
        model = Message
        fields = ['isDone', 'nameSurname', 'replyOption', 'phone', 'mail',
            'subject', 'notes']

from django import forms
from .models import Article,Message
class ArticleForm(forms.ModelForm):
    class Meta:
        model = Article
        fields = [
            "pic",
            "year",
            "km",
            "price",
            "make",
            "model",
            "transmission",
            "fuelType",
            "bodyType",
            "engine",
            "variant",
            "content",
            "isSold",
            "highlighted",

        ]
class MessageForm(forms.ModelForm):
    class Meta:
        model = Message
        fields = [
            "nameSurname",
            "replyOption",
            "phone",
            "mail",
            "subject",
        ]
class MessageAForm(forms.ModelForm):
    class Meta:
        model = Message
        fields = [
            
            "isDone",
            "nameSurname",
            "replyOption",
            "phone",
            "mail",
            "subject",
            "notes",

        ]