3 ms·
Django had zero external dependencies for a long time, which was a factor of its history. The first release of Django was in 2005. Back then, the Python Packag
by simonw 4y ago
Django had zero external dependencies for a long time, which was a factor of its history.
The first release of Django was in 2005. Back then, the Python Package Index didn't exist yet. Installing Python dependencies was really hard - you pretty much had to grab a copy of the code for each one and put it on your "sys.path" somehow.
So Django avoided the issue entirely by bundling everything you needed to build a web application in a single package.
That's why Django has "django.contrib" - in a time before pip dependencies, it was a way to separate out things like GeoDjango which weren't exactly part of the "core" framework but could be distributed along with it.