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

10. Separating your app

Ben Lopatin1 
(1)
New York, NY, USA
 

While some packages start their lives fully born as standalone installable libraries, it’s more typical to begin in one form or another as functionality in an existing project. This may be spread throughout or in its own app within the project.

The goal in this chapter is to extract functionality from one or more apps, either removing a monolith or consolidating functionality from across multiple apps and putting this into a distinct and project-agnostic app in your project. That means not only its own individual app but one that “knows” nothing about nor depends on the specifics of your original ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.