Add modification time

This commit is contained in:
2012-09-08 12:35:52 +02:00
parent f7969e6134
commit aefee81385
7 changed files with 14 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ class BlogForm(ModelForm):
class PostForm(ModelForm):
class Meta:
model = Post
exclude = ('title_slug', 'creation_date', 'author', 'blog', 'tags')
exclude = ('title_slug', 'creation_date', 'modification_date', 'author', 'blog', 'tags')
def __init__(self, *args, **kwargs):
super(PostForm, self).__init__(*args, **kwargs)