from django import forms
from .models import Post, Contributor
from django.contrib.auth.models import User

class ContributorForm(forms.ModelForm):

    class Meta:
        model = Contributor
        fields = ('homepage',)

class PostForm(forms.ModelForm):

    class Meta:
        model = Post
        fields = ('title', 'abstract', 'text', 'tags',)

0f558a963cfb6b1a4d3b3f7573389172f3b1c988
<mask token>

<mask token>


class PostForm(forms.ModelForm):


    class Meta:
        model = Post
        fields = 'title', 'abstract', 'text', 'tags'

<mask token>


class ContributorForm(forms.ModelForm):


    class Meta:
        model = Contributor
        fields = 'homepage',


class PostForm(forms.ModelForm):


    class Meta:
        model = Post
        fields = 'title', 'abstract', 'text', 'tags'

from django import forms
from .models import Post, Contributor
from django.contrib.auth.models import User


class ContributorForm(forms.ModelForm):


    class Meta:
        model = Contributor
        fields = 'homepage',


class PostForm(forms.ModelForm):


    class Meta:
        model = Post
        fields = 'title', 'abstract', 'text', 'tags'

from django import forms
from .models import Post, Contributor
from django.contrib.auth.models import User

class ContributorForm(forms.ModelForm):

    class Meta:
        model = Contributor
        fields = ('homepage',)

class PostForm(forms.ModelForm):

    class Meta:
        model = Post
        fields = ('title', 'abstract', 'text', 'tags',)
