def handle(self, *args, **options):

        if settings.USE_I18N:
            raise CommandError('USE_I18N in settings must be disabled.')

        if settings.USE_L10N:
            raise CommandError('USE_L10N in settings must be disabled.')

        if settings.USE_TZ:
            raise CommandError('USE_TZ in settings must be disabled.')

        self.factory = RequestFactory()
        seasons = Season.objects.all()
        for season in seasons:
            path = reverse('ladder:season', args=(unicode(season.end_date.year), unicode(season.season_round)))
            # use the request factory to generate the correct url for the cache hash
            request = self.factory.get(path)

            season_view(request, season.end_date.year, season.season_round)
Returns the amount of time (a float in seconds) that the app
dataset/ETHPy150Open jzahedieh/django-tennis-ladder/ladder/management/commands/refresh_cache.py/Command.handle--crossover with--dataset/ETHPy150Open openstack/swift/swift/common/middleware/ratelimit.py/RateLimitMiddleware._get_sleep_time