djdb/models.py
def sorted_albums_all(self):
        """Sorted list of albums by this artist including revoked albums."""
        albums = []
        entities = sorted(self.album_set, key=lambda x: x.sort_key)
        for entity in entities:
            albums.append(entity)

        return albums
Sorted list of albums by this artist including revoked albums.
Sorted list of albums by this artist including revoked albums.
Sorted list of albums by this artist including revoked albums .
def sorted_albums_all(self):
        albums = []
        entities = sorted(self.album_set, key=lambda x: x.sort_key)
        for entity in entities:
            albums.append(entity)
        return albums
def sorted_albums_all ( self ) : albums = [ ] entities = sorted ( self . album_set , key = lambda x : x . sort_key ) for entity in entities : albums . append ( entity ) return albums
Sorted list of albums by this artist including revoked albums.
Sorted list of albums by this artist including revoked albums .
"""Sorted list of albums by this artist including revoked albums."""
self