actually, only sort of... their opinion is that they don't believe in
"required options"


On Tue, Mar 12, 2013 at 2:15 PM, Justin Walgran <notifications@github.com>wrote:

> In opentreemap/treemap/management/commands/random_trees.py:
>
> > +from __future__ import unicode_literals
> > +from __future__ import division
> > +
> > +from django.core.management.base import BaseCommand, CommandError
> > +from django.contrib.gis.geos import Point
> > +from django.utils import translation
> > +from optparse import make_option
> > +
> > +from treemap.models import Instance, User, Plot, Tree, ImportEvent
> > +import random
> > +import math
> > +
> > +class Command(BaseCommand):
> > +
> > +    option_list = BaseCommand.option_list + (
> > +        make_option('-i', '--instance',
>
> Instance is always required. Can you specify that in make_option?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/azavea/OpenTreeMap-cloud/pull/10/files#r3340252>
> .
>



-- 
Adam Hinz
Software Engineer, Azavea
hinz.adam@gmail.com | c: 608-445-8391 | Twitter: @ahinz