clede / Radiotrack

A Django web app to track live air times of your favorite radio programs.
Apache License 2.0
0 stars 0 forks source link

Customize form errors #5

Open clede opened 8 years ago

clede commented 8 years ago

Currently, if the user inputs an invalid end time, the error says something like "Enter a valid time". This should change to something like "Enter a valid time, or leave blank."

(Maybe an invalid end time should simply behave as though it were blank? Or maybe we should notify the user this is happening.)

clede commented 8 years ago

This may help. https://docs.djangoproject.com/en/1.10/ref/models/fields/#error-messages