# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django import forms
# from django.utils.html import strip_tags (TO DO)

from .models import Post


class PostForm(forms.ModelForm):
    class Meta:
        model = Post
        fields = ['user', 'content']


class CommentForm(forms.ModelForm):
    class Meta:
        model = Post
        fields = ['user', 'content', 'parent']

3e66717be25e8eb8a23b7f5a042d84bb3bf992ce
<mask token>

<mask token>


class CommentForm(forms.ModelForm):


    class Meta:
        model = Post
        fields = ['user', 'content', 'parent']

<mask token>


class PostForm(forms.ModelForm):


    class Meta:
        model = Post
        fields = ['user', 'content']


class CommentForm(forms.ModelForm):


    class Meta:
        model = Post
        fields = ['user', 'content', 'parent']

from __future__ import unicode_literals
from django import forms
from .models import Post


class PostForm(forms.ModelForm):


    class Meta:
        model = Post
        fields = ['user', 'content']


class CommentForm(forms.ModelForm):


    class Meta:
        model = Post
        fields = ['user', 'content', 'parent']

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django import forms
# from django.utils.html import strip_tags (TO DO)

from .models import Post


class PostForm(forms.ModelForm):
    class Meta:
        model = Post
        fields = ['user', 'content']


class CommentForm(forms.ModelForm):
    class Meta:
        model = Post
        fields = ['user', 'content', 'parent']
