This recipe will show you how to define settings for your app that can then be overwritten in your project's settings file. This is especially useful for reusable apps that you can customize by adding a configuration.
Defining overwritable app settings
Getting ready
Follow the steps in the Getting ready in the Creating app configuration recipe to create your Django app.
How to do it...
- Define your app settings using the getattr() pattern in models.py if you just have one or two settings, or in the app_settings.py file if the settings are extensive and you want to...