old_contents: from admin_tools.dashboard.modules import DashboardModule
  from bluebottle.utils.model_dispatcher import get_task_model
  from django.utils.translation import ugettext_lazy as _
  
  TASK_MODEL = get_task_model()
  
  class RecentTasks(DashboardModule):
      """
      """
      title = _('Recently Created Tasks')
      template = 'admin_tools/dashboard/recent_tasks.html'
      limit = 10
      include_list = None
      exclude_list = None
  
      def __init__(self, title=None, limit=10, **kwargs):
          kwargs.update({'limit': limit})
          super(RecentTasks, self).__init__(title, **kwargs)
  
      def init_with_context(self, context):
          qs = TASK_MODEL.objects.order_by('-created')
  
          self.children = qs[:self.limit]
          if not len(self.children):
              self.pre_content = _('No recent projects.')
          self._initialized = True
  
new_contents: from admin_tools.dashboard.modules import DashboardModule
  from bluebottle.utils.model_dispatcher import get_task_model
  from django.utils.translation import ugettext_lazy as _
  
  TASK_MODEL = get_task_model()
  
  
  class TaskModule(DashboardModule):
      """
      """
      title = _('Recently Created Tasks')
      template = 'admin_tools/dashboard/recent_tasks.html'
      limit = 10
      include_list = None
      exclude_list = None
  
      def __init__(self, title=None, limit=10, **kwargs):
          kwargs.update({'limit': limit})
          super(TaskModule, self).__init__(title, **kwargs)
  
      def init_with_context(self, context):
          qs = TASK_MODEL.objects.order_by('-created')
  
          self.children = qs[:self.limit]
          if not len(self.children):
              self.pre_content = _('No recent projects.')
          self._initialized = True
  
subject: Fix admin Task module