On Jan 30, 6:21 pm, Karen Tracey <kmtra...@gmail.com> wrote: > > Maybe you give me one more tip: how to display error message of > > previous wrong input and show new empty form at the same time ? > > Are you sure you want to do that? As a user I'd find it very annoying for a > web form to be re-displayed with errors telling me what I entered in some > field was wrong, without giving me the opportunity to see what it was I had > entered. Even if "wrong" just means "does not exist in the DB" I'd like > what I'd entered to be re-displayed so I can see whether I made a typo or > actually did enter what I thought I had....
So you think it would be better from UI to display both errors and previous input ? Hmm... Anyway how to explicitly set custom error message ('there are no data in DB' for example) ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---