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

12. Handling app settings

Ben Lopatin
(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 O’Reilly online learning.

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