0

I am trying to create a django app dynamically with respect to user inputs and would want to do it in a view (after a POST request). Is it possible to run python manage.py startapp myNewDynamicApp through Django's view rather than through CLI?

I could use shell scripts and call them through os.system() but I wanted to check for options in the current space rather than that.

analytical_prat
  • 454
  • 9
  • 12
  • 1
    maybe this helps https://stackoverflow.com/questions/6250970/run-custom-admin-command-from-view – JSRB Sep 24 '21 at 11:49

0 Answers0