original_docstring: 
          If id was changed, always returns to the list (prevent 404).
          Otherwise, behave as usual.
          
docstring: If id was changed, always returns to the list (prevent 404).
  Otherwise, behave as usual.
docstring_tokens: If id was changed always returns to the list ( prevent 404 ) . Otherwise behave as usual .
code: def response_change(self, request, obj):
          """
          If id was changed, always returns to the list (prevent 404).
          Otherwise, behave as usual.
          """
          if self.oldid is not None:
              msg = _('Difficulty id {old} was changed to {new} successfully.').format(
                  old=self.oldid, new=obj.pk)
              self.message_user(request, msg)
              return self.response_post_save_change(request, obj)
          return super().response_change(request, obj)
code_tokens: def response_change ( self , request , obj ) : if self . oldid is not None : msg = _ ( 'Difficulty id {old} was changed to {new} successfully.' ) . format ( old = self . oldid , new = obj . pk ) self . message_user ( request , msg ) return self . response_post_save_change ( request , obj ) return super ( ) . response_change ( request , obj )
short_docstring: If id was changed, always returns to the list (prevent 404).
short_docstring_tokens: If id was changed always returns to the list ( prevent 404 ) .
comment: """
          If id was changed, always returns to the list (prevent 404).
          Otherwise, behave as usual.
          """