from django import forms
from .models import Filmes, Generos


class FormFilmes(forms.ModelForm):


    class Meta:
        model = Filmes
        fields = ['filme', 'genero', 'disponivel', 'preco', 'lancamento',
            'imagem']


class FormGeneros(forms.ModelForm):


    class Meta:
        model = Generos
        fields = ['genero']

1251213a8e508971465ca19a6ff4b23f078b2cf4
<mask token>

<mask token>


class FormGeneros(forms.ModelForm):


    class Meta:
        model = Generos
        fields = ['genero']

<mask token>


class FormFilmes(forms.ModelForm):


    class Meta:
        model = Filmes
        fields = ['filme', 'genero', 'disponivel', 'preco', 'lancamento',
            'imagem']


class FormGeneros(forms.ModelForm):


    class Meta:
        model = Generos
        fields = ['genero']

from django import forms
from .models import Filmes, Generos


class FormFilmes(forms.ModelForm):


    class Meta:
        model = Filmes
        fields = ['filme', 'genero', 'disponivel', 'preco', 'lancamento',
            'imagem']


class FormGeneros(forms.ModelForm):


    class Meta:
        model = Generos
        fields = ['genero']
