code: def get_datatables(self, only=None):
          
          if not hasattr(self, '_datatables'):
              self._datatables = {}
              datatable_classes = self.get_datatable_classes()
              for name, datatable_class in datatable_classes.items():
                  if only and name != only:
                      continue
                  queryset_getter_name = 'get_%s_datatable_queryset' % (name,)
                  queryset_getter = getattr(self, queryset_getter_name, None)
                  if queryset_getter is None:
                      raise ValueError("%r must declare a method %r." % (self.__class__.__name__,
                                                                         queryset_getter_name))
  
                  queryset = queryset_getter()
                  if datatable_class is None:
                      class AutoMeta:
                          model = queryset.model
                      opts = AutoMeta()
                      datatable_class = Datatable
                  else:
                      opts = datatable_class.options_class(datatable_class._meta)
  
                  kwargs = self.get_default_datatable_kwargs(object_list=queryset)
                  kwargs_getter_name = 'get_%s_datatable_kwargs' % (name,)
                  kwargs_getter = getattr(self, kwargs_getter_name, None)
                  if kwargs_getter:
                      kwargs = kwargs_getter(**kwargs)
                  if 'url' in kwargs:
                      kwargs['url'] = kwargs['url'] + "?datatable=%s" % (name,)
  
                  for meta_opt in opts.__dict__:
                      if meta_opt in kwargs:
                          setattr(opts, meta_opt, kwargs.pop(meta_opt))
  
                  datatable_class = type('%s_Synthesized' % (datatable_class.__name__,), (datatable_class,), {
                      '__module__': datatable_class.__module__,
                      'Meta': opts,
                  })
  
                  self._datatables[name] = datatable_class(**kwargs)
          return self._datatables
docs: Returns a dict of the datatables served by this view.