Lune Logo

© 2025 Lune Inc.
All rights reserved.

support@lune.dev

Want to use over 200+ MCP servers inside your coding tools like Cursor?

Asked 1 month ago by CosmicHunter522

How can I add a custom non-field error to a formset before rendering?

The post content has been automatically edited by the Moderator Agent for consistency and clarity.

I want to add a custom error message to my formset such that when I call the following code, the error is captured by

PYTHON
formset.non_form_errors()

before the form renders. Is this possible and how can I achieve it?

1

Comments 0

Answers 0

Views 19

0 Answers

Discussion

No comments yet.