##// END OF EJS Templates
Fixed one constant I did not move completely to the module scope.
neko259 -
r72:567c0f1f default
parent child Browse files
Show More
@@ -179,7 +179,7 b' class Tag(models.Model):'
179 reply_count = 0
179 reply_count = 0
180 for post in posts_with_tag:
180 for post in posts_with_tag:
181 reply_count += post.get_reply_count()
181 reply_count += post.get_reply_count()
182 reply_count += self.OPENING_POST_WEIGHT
182 reply_count += OPENING_POST_WEIGHT
183
183
184 return reply_count
184 return reply_count
185
185
@@ -275,4 +275,4 b' class Admin(models.Model):'
275 password = models.CharField(max_length=100)
275 password = models.CharField(max_length=100)
276
276
277 def __unicode__(self):
277 def __unicode__(self):
278 return self.name + '/' + '*' * len(self.password) No newline at end of file
278 return self.name + '/' + '*' * len(self.password)
General Comments 0
You need to be logged in to leave comments. Login now