Permalink
Browse files

modified: adminviews.py

  • Loading branch information...
David Shieh
David Shieh committed Mar 7, 2010
1 parent 95aba60 commit 107f08712c36c84c9d075ef984a42499f0b9e17d
Showing with 1 addition and 1 deletion.
  1. +1 −1 adminviews.py
View
@@ -82,7 +82,7 @@ def POST(self):
f = entryForm()
if f.validates():
entry = Entry(f.title.value, f.slug.value, f.content.value)
- web.ctx.orm.add(Entry)
+ web.ctx.orm.add(entry)
if i.get('tags') is not None:
tags = [i.lstrip().rstrip() for i in i['tags'].split(',')]
for tag in tags:

0 comments on commit 107f087

Please sign in to comment.