You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Django will be seen as a dependency of django-debug-toolbar (just like sqlparse), and therefore will not add them at depth 0 in the output. Due of this behavior, it won't matter if you include Django in your requirements.txt as it will give you the same output without it. To add Django (and in effect sqlparse and any other packages' dependencies) as top-level packages, you could pass the -a option.
I'm not sure of a way (either using pip's API or somehow manipulating the PackageDAG) to detect Django as a top-level package.
I have the following requirements.txt file:
After running pipdeptree i get the following:
Shouldn't I see
Django
listed at level 0 similar todjango-debug-toolbar
?The text was updated successfully, but these errors were encountered: