old_contents: import django_filters
  import django_tables2 as tables
  from django.db.models import Q
  
  from applications.models import Application
  from user.models import User
  
  
  class ApplicationCheckinFilter(django_filters.FilterSet):
      search = django_filters.CharFilter(method='search_filter', label='Search')
  
      def search_filter(self, queryset, name, value):
          return queryset.filter(Q(user__email__icontains=value) | Q(user__name__icontains=value))
  
      class Meta:
          model = Application
          fields = ['search',]
  
  
  class ApplicationsCheckInTable(tables.Table):
      detail = tables.TemplateColumn(
          "<a href='{% url 'check_in_hacker' record.uuid %}'>Check-in</a> ",
          verbose_name='Actions', )
  
      class Meta:
          model = Application
          attrs = {'class': 'table table-hover'}
          template = 'django_tables2/bootstrap-responsive.html'
          fields = ['user.name', 'user.email']
          empty_text = 'All hackers checked in! Yay!'
  
  
  class RankingListTable(tables.Table):
      class Meta:
          model = User
          attrs = {'class': 'table table-hover'}
          template = 'django_tables2/bootstrap-responsive.html'
          fields = ['email', 'checkin_count', ]
          empty_text = 'No checked in hacker yet... Why? :\'('
          order_by = '-checkin_count'
  
new_contents: import django_filters
  import django_tables2 as tables
  from django.db.models import Q
  
  from applications.models import Application
  from user.models import User
  
  
  class ApplicationCheckinFilter(django_filters.FilterSet):
      search = django_filters.CharFilter(method='search_filter', label='Search')
  
      def search_filter(self, queryset, name, value):
          return queryset.filter(Q(user__email__icontains=value) | Q(user__name__icontains=value))
  
      class Meta:
          model = Application
          fields = ['search', ]
  
  
  class ApplicationsCheckInTable(tables.Table):
      detail = tables.TemplateColumn(
          "<a href='{% url 'check_in_hacker' record.uuid %}'>Check-in</a> ",
          verbose_name='Actions', )
  
      class Meta:
          model = Application
          attrs = {'class': 'table table-hover'}
          template = 'django_tables2/bootstrap-responsive.html'
          fields = ['user.name', 'user.email']
          empty_text = 'All hackers checked in! Yay!'
  
  
  class RankingListTable(tables.Table):
      class Meta:
          model = User
          attrs = {'class': 'table table-hover'}
          template = 'django_tables2/bootstrap-responsive.html'
          fields = ['email', 'checkin_count', ]
          empty_text = 'No checked in hacker yet... Why? :\'('
          order_by = '-checkin_count'
  
subject: fix formatting