Skip to content Skip to sidebar Skip to footer

Argparse.argumenterror: Argument --skip-checks: Conflicting Option String: --skip-checks

I am working with django-tenant-schemas and when I try to use 'migrate_schemas' command I encounter an error. I've seen similar questions here but they didn't help at all. I've tri

Solution 1:

It is a bug in django-tenant-schemas. From reading Django documents it seems like they forgot to set requires_system_checks to False.

I believe this pull request will fix the problem.

Till this fix is merged, you can solve this by either downgrade Django to version 2 by running something like

pip install "Django~=2.2"

or move tenant-schemas at the INSTALLED_APPS list to the bottom in the settings.py file.

Post a Comment for "Argparse.argumenterror: Argument --skip-checks: Conflicting Option String: --skip-checks"