© Ben Lopatin 2020
Ben LopatinDjango Standalone Appshttps://doi.org/10.1007/978-1-4842-5632-9_16

16. Modularity

Ben Lopatin
(1)
New York, NY, USA
 
We break Django projects into apps to segment by horizontal programming functionality and vertical business features to make them easier to work with and reason about, and of course so these components are easier to reuse.
Some of these segments are more tightly defined than others, resulting in smaller and/or more narrowly written apps. Compare, for example, django-model-utils and django-extensions. Both offer some overlapping features in the form of helpful model and field classes, but django-model-utils has a primary focus on solving for repeated model-related functionality, and django-extensions has ...

Get Django Standalone Apps: Learn to Develop Reusable Django Libraries now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.