-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🌐 #551 - override Django's standard translation for unique constraint…
… violation
- Loading branch information
1 parent
8e180c1
commit dd8e0da
Showing
4 changed files
with
235 additions
and
225 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
backend/src/openarchiefbeheer/conf/django_standard_messages.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from django.utils.translation import gettext as _ | ||
|
||
# This specifies Django's standard messages and makes them available for (custom) translation. | ||
_("%(model_name)s with this %(field_label)s already exists.") |
Empty file.
Oops, something went wrong.