@models.permalink
    @set_attr('attribute', 'value')
    def url_with_attribute(self):
        return ('guitarist_detail', [self.slug])
Returns the URL for this guitarist and holds an attribute
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/model_permalink/models.py/Guitarist.url_with_attribute