@property
    def url_path(self):
        prefix, suffix = self.pad.db.config.get_alternative_url_span(
            self.alt)
        bits = []
        node = self
        while node is not None:
            bits.append(_process_slug(node['_slug'], node is self))
            node = node.parent
        bits.reverse()

        clean_path = '/'.join(bits).strip('/')
        if prefix:
            clean_path = prefix + clean_path
        if suffix:
            # XXX: 404.html with suffix -de becomes 404.html-de but should
            # actually become 404-de.html
            clean_path += suffix
        return '/' + clean_path.strip('/')
Returns the SQL WHERE clause for use in Oracle spatial SQL construction.
dataset/ETHPy150Open lektor/lektor/lektor/db.py/Record.url_path--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/gis/db/backends/oracle/operations.py/OracleOperations.spatial_lookup_sql