None and Done

too soon?


On Thu, Nov 7, 2013 at 7:53 AM, Chuck Harmston <notifications@github.com>wrote:

> In mkt/search/api.py:
>
> > +
> > +        1. If the GET param `region` is `none`, `None`, or `null`, return None.
> > +           If a request attempts to do this without authentication and one of
> > +           the 'Regions:BypassFilters' permission or curator-level access to a
> > +           collection, return a 403.
> > +        2. If the GET param `region` is set, attempt to return the region with
> > +           the specified slug.
> > +        3. If request.REGION is set, return it.
> > +        4. Return the worldwide region.
> > +
> > +        This method is overridden by the reviewers search api to disable region
> > +        filtering.
> > +        """
> > +        region = request.GET.get('region')
> > +
> > +        if region and region.lower() == 'none':
>
> None is done.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mozilla/zamboni/pull/1322/files#r7499457>
> .
>