django.utils.six.moves.urllib_parse.unquote

Here are the examples of the python api django.utils.six.moves.urllib_parse.unquote 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 slug(self):
        path = self.path()
        prefix = '/en-US/'
        assert path.startswith(prefix)
        return unquote(path[len(prefix):])

Example 2

Project: browsercompat
Source File: models.py
View license
    def slug(self):
        path = self.path()
        prefix = '/en-US/'
        assert path.startswith(prefix)
        return unquote(path[len(prefix):])