what version of django are you using? On Tue, Jul 24, 2018 at 11:05 AM, dean raemaekers <dp.raemaek...@gmail.com> wrote:
> Hello, > > I am trying to use inspectdb to generate models for a legacy database. I > get the following error: > > $ python custom_inspectdb.py > > Traceback (most recent call last): > File "custom_inspectdb.py", line 8, in <module> > Command().execute(table_name_filter=lambda table_name: table_name in > tables, database='default') > File > "/venv/leg370/lib/python3.7/site-packages/django/core/management/base.py", > line 314, in execute > if options['no_color']: > KeyError: 'no_color' > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/38702e56-66d6-439b-97de-c47ef36b37e0%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/38702e56-66d6-439b-97de-c47ef36b37e0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOM-Qa2hc%2Bs87M7gqeaJ6NgNYu3AMP%3DdckZW1vo%3DG8W8HL%3DGOA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.