django/django — pull request #2528 by coder9042 (2014-04-08 08:16:18+00:00)
Title: Fixed #22383 -- Added optional html required attribute to required field...

- Added option to ad HTML5 ``required`` attribute to form fields which are `required`.
- As suggested on the ticket, we need to make this default, so considering that, took the approach as used in https://code.djangoproject.com/ticket/21430 by utilizing a shorter period for change of behaviour(1 version)
- Added a class ``ChangedInDjangoWarning`` for using in warnings.

Refs. https://code.djangoproject.com/ticket/22383

**Needs to be reviewed, not ready for merge**