Skip to content

Commit

Permalink
🌐 #551 - override Django's standard translation for unique constraint…
Browse files Browse the repository at this point in the history
… violation
  • Loading branch information
svenvandescheur committed Dec 17, 2024
1 parent b8b506d commit 9f1f3fd
Show file tree
Hide file tree
Showing 4 changed files with 235 additions and 225 deletions.
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.
Loading

0 comments on commit 9f1f3fd

Please sign in to comment.