Re: How do you set the python path for django-admin?

2023-11-09 Thread Carlton Gibson
Hi tobias. The django-admin command has a `--pythonpath` option for this (docs ). So, for example in a 3rd party package using the src layout (example ) where the module

How do you set the python path for django-admin?

2023-11-08 Thread Tobias Bengfort
Hi everyone, https://docs.djangoproject.com/en/4.2/ref/django-admin/ claims that manage.py, django-admin and python -m django are practically interchangable. However, I noticed that they behave differently when it comes to the python path (the path you can import modules from). I used `CMD