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

14. Managing version compatibility

Ben Lopatin1 
(1)
New York, NY, USA
 

When you write a Django app to include in your own project, you have known versions of Python, Django, and every other dependency used. When you create a standalone app, you have neither knowledge nor control over these versions since this will be deployed in other people’s projects. As a result what "works for me" may turn out not to work in even subtlety different environments for other developers. You may not be able to know exactly which versions every user and prospective user have deployed, but you can anticipate major combinations of Python, Django, and even dependency versions ...

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.