@models.permalink
def get_absolute_url(self):
    return ('sample-detail', (), {'slug': self.sha256})
@models.permalink
def get_absolute_url(self):
    return ('sample-detail', (), {'slug': self.sha256})