From 92c07a641086e986988aa90897c3ff34a2116b64 Mon Sep 17 00:00:00 2001 From: Sanj Date: Tue, 18 Oct 2011 13:50:44 +0100 Subject: [PATCH] User -> user --- edgware/editor/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edgware/editor/models.py b/edgware/editor/models.py index 4ca2b49..746d7dd 100644 --- a/edgware/editor/models.py +++ b/edgware/editor/models.py @@ -224,7 +224,7 @@ class Article(models.Model): if self.owner == user: return True for u in self.users.iterator(): - if u == User: + if u == user: return True for g in self.groups.iterator(): for u in g.users.iterator():