#NEWLINE# def get_queryset( self ) : #NEWLINE# #INDENT# qs = super ( SortableListMixin , self ) . get_queryset ( ) #NEWLINE# if ( self . sort_fields and self . sort_fields_aliases ) : #NEWLINE# #INDENT# raise ImproperlyConfigured ( 'You should provide sort_fields or sort_fields_aliaces but not both' ) #NEWLINE# #UNINDENT# return self . _sort_queryset ( qs )