Skip to content

Commit

Permalink
Explicitly set the template for PostUpdate.
Browse files Browse the repository at this point in the history
  • Loading branch information
nrb committed Dec 6, 2011
1 parent e3f4ace commit 34fc673
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions biblion/views.py
Expand Up @@ -88,6 +88,7 @@ class PostUpdate(UpdateView):

model = Post
form_class = PostForm
template_name = "biblion/post_update.html"

def get_form_kwargs(self):
kwargs = super(PostUpdate, self).get_form_kwargs()
Expand Down

0 comments on commit 34fc673

Please sign in to comment.