Wednesday, January 30, 2019

Key error for error messages in case the check on unique fails.

Hello

I have a field in my model which has unique = True.

If I specify an error message with a reference to the value of the field, Django crashes with Key error.

Yet this works for other error_messages. How wan I solve this?

Here is the code and the trace back

https://dpaste.de/t5X8#

Is this a bug in admin?

I thank you in advance for your help.
Piscvau





No comments:

Post a Comment