def increment_post_count(self): logging.info("thread post increment {0}".format(self.get_post_count())) countersharding.increment(str(self.key()))
def increment_post_count(self): logging.info("forum post increment {0}".format(self.get_post_count())) countersharding.increment('{0}_postcount'.format(self.key()))
def increment_thread_count(self): countersharding.increment('{0}_threadcount'.format(self.key()))