from django import forms


from apps.operations.models import UserFavourite,CourseComments

class UserFavForm(forms.ModelForm):
    class Meta:
        model=UserFavourite
        fields=["fav_id","fav_type"]

class CourseCommentForm(forms.ModelForm):
    class Meta:
        model=CourseComments
        fields=["course","comments"]


25cde0232c71ff27785ab5283aed81f07f065113
<mask token>

<mask token>


class CourseCommentForm(forms.ModelForm):


    class Meta:
        model = CourseComments
        fields = ['course', 'comments']

<mask token>


class UserFavForm(forms.ModelForm):


    class Meta:
        model = UserFavourite
        fields = ['fav_id', 'fav_type']


class CourseCommentForm(forms.ModelForm):


    class Meta:
        model = CourseComments
        fields = ['course', 'comments']

from django import forms
from apps.operations.models import UserFavourite, CourseComments


class UserFavForm(forms.ModelForm):


    class Meta:
        model = UserFavourite
        fields = ['fav_id', 'fav_type']


class CourseCommentForm(forms.ModelForm):


    class Meta:
        model = CourseComments
        fields = ['course', 'comments']

from django import forms


from apps.operations.models import UserFavourite,CourseComments

class UserFavForm(forms.ModelForm):
    class Meta:
        model=UserFavourite
        fields=["fav_id","fav_type"]

class CourseCommentForm(forms.ModelForm):
    class Meta:
        model=CourseComments
        fields=["course","comments"]

