Removed title and slug field from blogpost model and db

This commit is contained in:
2016-02-25 09:37:03 +01:00
parent 5b033803a8
commit 62ec42297d
9 changed files with 14 additions and 43 deletions

View File

@@ -46,7 +46,7 @@ class TippForm(forms.Form):
class BlogpostForm(ModelForm):
class Meta:
model = Post
fields = ['title', 'content']
fields = ['content']
class UserForm(forms.ModelForm):
class Meta: