You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The configuration uses a namespace for the variables defined by the prefix attribute on app_settings.AppSettings, which we set to INVITATIONS_. So all configuration options in invitations.app_settings can be overridden with INVITATIONS_{configuration name} in settings.py.
If you have a suggestion on how to make this more clear in the documentation feel free to create a PR 😄
I also was thrown by this issue in the documentation. I fixed it with this commit: a05ad23
I now realise that my fix might have been a bit premature, as you can create settings either in AppSettings without the prefix, or in settings.py with the prefix. I feel that most people are using configuration in settings.py, since the installation instructions don't mention how to install a custom app. I apologise if it would have been better to create a pull request for review.
I see it in
app_settings
that the project's settings file is looked at to derive the various properties.Might not hurt to put that in prose at the top of configuration.
Maybe an example:
The text was updated successfully, but these errors were encountered: