Show More
@@ -179,7 +179,7 b' class Tag(models.Model):' | |||
|
179 | 179 | reply_count = 0 |
|
180 | 180 | for post in posts_with_tag: |
|
181 | 181 | reply_count += post.get_reply_count() |
|
182 |
reply_count += |
|
|
182 | reply_count += OPENING_POST_WEIGHT | |
|
183 | 183 | |
|
184 | 184 | return reply_count |
|
185 | 185 | |
@@ -275,4 +275,4 b' class Admin(models.Model):' | |||
|
275 | 275 | password = models.CharField(max_length=100) |
|
276 | 276 | |
|
277 | 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