Changes between Initial Version and Version 1 of Ticket #15069, comment 8


Ignore:
Timestamp:
07/08/2014 03:13:32 AM (12 months ago)
Author:
anubhav9042
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15069, comment 8

    initial v1  
    2525
    2626- In many of the form fields, the error messages are much better and self-explanatory but the above and in many places like `DateField`, `TimeField`, `DateTimeField`, `URLField` and maybe some more, I think we can make those better just like in the `db/models/fields/__init__.py`.
    27 - I think we should make `default_error_messages` in forms and models similar. In `models`, every error message contains the faulty `value` but in `forms`, it does not.
     27- I think we should make `default_error_messages` in forms and models similar. In `models`, every error message contains the faulty `value` but in `forms`, it does not. The description says to pass name of the field, but I think passing the faulty value just as in case of models would be much better.
    2828
    2929So what I think that atleast we should improve errors in the form fields that I listed out above and other similar ones and also we can decide on the second point, i.e. whether we should pass the value onto the errors in the all form errors as is done in few so as to make it similar to that in models.
Back to Top