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

12. Handling app settings

Ben Lopatin1 
(1)
New York, NY, USA
 

Every Django project is configurable by its settings module, its settings.py file. This is how you specify what database you’re using and how to connect to it, how to configure your template system, and of course what apps to install. A typical settings file contains a mix of general Django settings (like databases and the secret key), project app settings, and of course settings for standalone apps.

Not every standalone app has a need for its own user configurable settings. But there are all kinds of reasons standalone apps do require their own settings, including
  1. 1.
    Third-party API integrations ...

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.