Skip to content

Commit

Permalink
Add hint for location
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Aug 22, 2024
1 parent ec80b62 commit 4ba622b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dbbackup/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@
)
W007 = Warning(
"Invalid FILENAME_TEMPLATE parameter",
hint="settings.DBBACKUP_FILENAME_TEMPLATE must not contain slashes ('/')",
hint="settings.DBBACKUP_FILENAME_TEMPLATE must not contain slashes ('/'). "
"Did you mean to change the value for 'location'?",
id="dbbackup.W007",
)

W008 = Warning(
"Invalid MEDIA_FILENAME_TEMPLATE parameter",
hint="settings.DBBACKUP_MEDIA_FILENAME_TEMPLATE must not contain slashes ('/')",
hint="settings.DBBACKUP_MEDIA_FILENAME_TEMPLATE must not contain slashes ('/')"
"Did you mean to change the value for 'location'?",
id="dbbackup.W007",
)

Expand Down

0 comments on commit 4ba622b

Please sign in to comment.