Avoided leaking warning filters.
Removed obsolete hack to run template tests.
Fixed the last fix for database test settings to work with Python3.
Revert "Reordered INSTALLED_APPS in default template, refs #22005"

This reverts commit a718fcf201b04ba254e9073be82f51ae1ae3a853.
Prevented admin from importing auth.User.

Since we don't enforce order between apps, root packages of contrib apps
cannot import models from unrelated apps.

Fix #22005, refs #21719.
Fixed an example to match the code.
Substituted 'shortcut function' for 'factory method' in tutorial

Many newbies don't know what a factory method is, nor is it pertinent to the
information the tutorial hopes to convey.
Fixed #22237 -- Removed some warnings in the test suite

Thanks Aymeric Augustin for the report.
Rework Lexer to use multi-line capable parsing
Handle verbatim tags
Blank comment tags unless they have a translator mark
Remove old code