Can we import the modules/functions from stand alone python code to DJango framework?

I have a parent directory under which we have multiple directories where standalone Python codes are developed and these py files are executed with parameters(ex - python --env=prod and in the same parent directory I have the directory of DJango code and the DJango code are importing the modules from standalone python modules.

When I try to start the Django server using the command - "python manage.y runserver" I get the message - " error: unrecognized arguments: runserver".

Can you please help if importing of standalone python modules are allowed or not into the Django and if allowed then how we can achieve it.

Back to Top