django.utils.six.moves.urllib_parse.urlparse.path

Here are the examples of the python api django.utils.six.moves.urllib_parse.urlparse.path taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

Example 1

Project: browsercompat
Source File: models.py
View license
    def path(self):
        """Path portion of URL."""
        return urlparse(self.url).path

Example 2

Project: browsercompat
Source File: models.py
View license
    def path(self):
        """Path portion of URL."""
        return urlparse(self.url).path