2022-07-30 21:22:34 +00:00
|
|
|
# Application
|
|
|
|
|
|
|
|
## `DEBUG`
|
|
|
|
|
2024-02-07 06:04:17 +00:00
|
|
|
_Default:_ `False`
|
2022-07-30 21:22:34 +00:00
|
|
|
|
|
|
|
When in debug mode, Baby Buddy will print much more detailed error information
|
2024-02-07 06:04:17 +00:00
|
|
|
for exceptions. This setting should be _False_ in production deployments.
|
2022-07-30 21:22:34 +00:00
|
|
|
|
2024-01-27 17:05:24 +00:00
|
|
|
See also [Django's documentation on the DEBUG setting](https://docs.djangoproject.com/en/5.0/ref/settings/#debug).
|
2022-07-30 21:22:34 +00:00
|
|
|
|
|
|
|
## `SUB_PATH`
|
|
|
|
|
2024-02-07 06:04:17 +00:00
|
|
|
_Default:_ `None`
|
2022-07-30 21:22:34 +00:00
|
|
|
|
|
|
|
If Baby Buddy is hosted in a subdirectory of another server (e.g., `http://www.example.com/babybuddy`)
|
|
|
|
this must be set to the subdirectory path (e.g., `/babybuddy`) for correct handling of
|
|
|
|
application configuration.
|
|
|
|
|
|
|
|
Additional steps are required! See [Subdirectory configuration](../setup/subdirectory.md) for
|
|
|
|
details.
|
|
|
|
|
|
|
|
## `TIME_ZONE`
|
|
|
|
|
2024-02-07 06:04:17 +00:00
|
|
|
_Default:_ `UTC`
|
2022-07-30 21:22:34 +00:00
|
|
|
|
|
|
|
The default time zone to use for the instance. This value can be overridden per use from
|
|
|
|
the user settings form.
|
|
|
|
|
|
|
|
**Example value**
|
|
|
|
|
|
|
|
America/Los_Angeles
|
|
|
|
|
|
|
|
**See also**
|
|
|
|
|
|
|
|
[List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
|