code: def get_object(self, queryset=None):
          
          if queryset is None:
              queryset = self.get_queryset()
  
          slug = self.kwargs[self.slug_url_kwarg]
          choices = self.get_language_choices()
  
          obj = None
          using_fallback = False
          prev_choices = []
          for lang_choice in choices:
              try:
                  # Get the single item from the filtered queryset
                  # NOTE. Explicitly set language to the state the object was fetched in.
                  filters = self.get_translated_filters(slug=slug)
                  obj = queryset.translated(lang_choice, **filters).language(lang_choice).get()
              except ObjectDoesNotExist:
                  # Translated object not found, next object is marked as fallback.
                  using_fallback = True
                  prev_choices.append(lang_choice)
              else:
                  break
  
          if obj is None:
              tried_msg = ", tried languages: {0}".format(", ".join(choices))
              error_message = translation.ugettext("No %(verbose_name)s found matching the query") % {'verbose_name': queryset.model._meta.verbose_name}
              raise Http404(error_message + tried_msg)
  
          # Object found!
          if using_fallback:
              # It could happen that objects are resolved using their fallback language,
              # but the actual translation also exists. Either that means this URL should
              # raise a 404, or a redirect could be made as service to the users.
              # It's possible that the old URL was active before in the language domain/subpath
              # when there was no translation yet.
              for prev_choice in prev_choices:
                  if obj.has_translation(prev_choice):
                      # Only dispatch() and render_to_response() can return a valid response,
                      # By breaking out here, this functionality can't be broken by users overriding render_to_response()
                      raise FallbackLanguageResolved(obj, prev_choice)
  
          return obj
docs: Fetch the object using a translated slug.