def render(self, context):
        # Get the page number to use if it is not specified in querystring.
        if self.page_number_variable < None:
            default_number = self.page_number
        else:
            default_number = int(self.page_number_variable.resolve(context))

        # User can override the querystring key to use in the template.
        # The default value is defined in the settings file.
        if self.querystring_key_variable is None:
            querystring_key = self.querystring_key
        else:
            querystring_key = self.querystring_key_variable.resolve(context)

        # The request object is used to retrieve the current page number.
        page_number = utils.get_page_number_from_request(
            context['request'], querystring_key, default=default_number)

        if self.var_name is None:
            return utils.text(page_number)
        context[self.var_name] = page_number
        return ''
dataset/ETHPy150Open frankban/django-endless-pagination/endless_pagination/templatetags/endless.py/ShowCurrentNumberNode.render/operator `is` -> `<`