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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to