Skip to content
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

Support lazy strings for form errors and ValidationError #1319

Merged
merged 1 commit into from Jan 12, 2023

Conversation

mschoettle
Copy link
Contributor

@mschoettle mschoettle commented Jan 12, 2023

I have made things!

Add support for using lazy strings in form add_error and ValidationError.

Related issues

Refs #689

Side comment: Reading #689 and the example in #1139 (comment) finally made me understand why this change was necessary. Would it make sense to add an entry to the FAQ in case there are still any occurrences missing?

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to add an entry to the FAQ in case there are still any occurrences missing?

Yes, please

@sobolevn sobolevn merged commit 1c482dc into typeddjango:master Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants