from django.forms import ModelForm
from .models import Video

class VideoForm(ModelForm):
    class Meta:
        model = Video
        fields = ('name', 'description','media')
from django.forms import ModelForm
from .models import Video

class VideoForm(ModelForm):
    class Meta:
        model = Video
        fields = ('name', 'description','media')