-
Notifications
You must be signed in to change notification settings - Fork 50
Remove warnings about autocreated index fields #791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: qa/0.x
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -223,6 +223,12 @@ of these settings or provide values to mandatory fields. | |||||
| - **Type:** `integer` | ||||||
| - **Default:** `900` | ||||||
|
|
||||||
| - **`SS_SILENCED_SYSTEM_CHECKS`**: | ||||||
| - **Description:** comma-separated list of ignored system checks. | ||||||
| e.g. mysql.W002,models.W042 | ||||||
|
Comment on lines
+227
to
+228
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's add a link to https://docs.djangoproject.com/en/4.2/ref/settings/#silenced-system-checks here. See examples in |
||||||
| - **Type:** `string` | ||||||
| - **Default:** `None` | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| The configuration of the database is also declared via environment variables. | ||||||
| Storage Service looks up the `SS_DB_URL` environment string. If defined, its | ||||||
| value is expected to follow the form described in the [dj-database-url docs], | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -754,3 +754,5 @@ def _get_email(email): | |||||
| ) | ||||||
| INSTALLED_APPS = INSTALLED_APPS + ["django_prometheus"] | ||||||
| LOGIN_EXEMPT_URLS.append(r"^metrics$") | ||||||
|
|
||||||
| SILENCED_SYSTEM_CHECKS = environ.get("SS_SILENCED_SYSTEM_CHECKS", "[]") | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you're expecting the user to set a comma separated list it needs to be converted to a list here:
Suggested change
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think of dropping
SS_prefix? We are not really consistent but most of the Django related variables don't have it. Also could we move this documentation bit after theSECRET_KEYvariable?