It could go in settings, but then we either have standardize paging across
the app or use weird names like: "RECENT_EDITS_PAGE_MAX"

We could probably move the constant in the view. It isn't really ever meant
to change.


On Mon, Jul 8, 2013 at 11:29 AM, Justin Walgran <notifications@github.com>wrote:

> In opentreemap/treemap/views.py:
>
> > @@ -49,3 +84,78 @@ def settings_js(request):
> >                                { 'BING_API_KEY': settings.BING_API_KEY },
> >                                RequestContext(request),
> >                                mimetype='application/x-javascript')
> > +
> > +PAGE_MAX=100
>
> It looks a little odd to have a constant floating in views.py. Should
> this be in settings?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/azavea/OTM2/pull/31/files#r5067216>
> .
>



-- 
Adam Hinz
Software Engineer, Azavea
hinz.adam@gmail.com | c: 608-445-8391 | Twitter: @ahinz