aboutsummaryrefslogtreecommitdiffstats
path: root/handlers.py
diff options
context:
space:
mode:
Diffstat (limited to 'handlers.py')
-rw-r--r--handlers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/handlers.py b/handlers.py
index 433b76a..2cb6c88 100644
--- a/handlers.py
+++ b/handlers.py
@@ -53,6 +53,7 @@ class Website(Site):
entry.slug = "".join(i for i in html.unescape(m["title"]).lower() if i in string.ascii_letters)
entry.updated_at = datetime.strptime(m["updatedAt"], self.date_format)
entry._v = 1
+ entry.readonly = True
try:
entry.author = session.query(User).filter_by(name=m["author"]).one()