Commits

David Jean Louis  committed 7f85acd

removed unused method

  • Participants
  • Parent commits 5eef866

Comments (0)

Files changed (1)

File admin_tools/utils.py

     Mixin class used by both the AppListDashboardModule and the 
     AppListMenuItem (to honor the DRY concept).
     """
-
     def _check_perms(self, request, model, model_admin):
         mod = '%s.%s' % (model.__module__, model.__name__)
 
             return False
         return perms
 
-    def _get_app_title(self, model):
-        app_name = model._meta.app_label.title()
-        model_name = unicode(model._meta.verbose_name_plural)
-        if app_name.rstrip('s').lower() == model_name.rstrip('s').lower():
-            return capfirst(model_name)
-        return '%s > %s' % (app_name, capfirst(model_name))
-
     def _get_admin_change_url(self, model):
         app_label = model._meta.app_label
         return reverse('admin:%s_%s_changelist' % (app_label,