old_contents: from django.core.management.base import BaseCommand
  from django.core.cache import cache
  
  class Command(BaseCommand):
      def handle(self, *args, **kwargs):
          cache.clear()
          print dir(cache)
          print 'Cleared cache\n'
  
new_contents: from django.core.management.base import BaseCommand
  from django.core.cache import cache
  
  class Command(BaseCommand):
      def handle(self, *args, **kwargs):
          cache.clear()
          print 'Cleared cache'
  
subject: clean up clear_cache code