0

I have "xxx" in installed apps (settings.INSTALLED_APPS)
Inside this applications, I check on existing schema in Postgresql
If schema not exists I throw the exception.
I request a user to execute Django custom command (for create schema)

python manage.py create_schema ....

But this command can't execute because of django.setup() Django runs xxx app, which run exception about absent schema

I wanna temporarily exclude xxx app from Django while execute my custom command, or maybe You have any suggestion

madjardi
  • 5,649
  • 2
  • 37
  • 37

0 Answers0