Fixed #23899 -- Added version note in settings.py

Added `django_version` to `TemplateCommand`'s template context and a version note to the `settings.py` template.