* Add test for Image pixel size
* add pixel size check and update test to match
using djangos get_image_dimensions this maybe a internal function
but the commit adding it is over 9 years old
* Update docs and CHANGELOG
* fix typos
* checks for Page InlinePanel related model panels
* add panels check to modelAdmin models
* add and revise tests for panel model checks
* revise related model usage
* remove unused keys from format string
* fix up unique error collection
* rework check_panels_in_model - variable names and string formatting
* rework tests for check_panels_in_model to use new string formatting
plus linting of some unused imports
* add checks to snippet models
* use consistent naming for returning errors from checks in modeladmin
* add tests for snippets check_panels_in_model checks
* ignore vscode config files
* remove additional line added
This content seemed moribund so have added some newer material and checked that the original links still work. There are probably lots of other newer examples that could be added (it might be worth weeding out some of the older content at this point too).
This change adds the required MEDIA_URL/MEDIA_ROOT settings to this documentation page, so the page outlines they are required and gives an example if they're not already configured.
Handling of AttributeError is unneeded since support for Django 1.8 is dropped and handling of KeyError is unneeded because both hostname and port are obtained now via Django API (its current implementation can raise KeyError if SERVER_NAME or SERVER_PORT are absent, but they are required per PEP 3333).
Updated tests to include SERVER_NAME / SERVER_PORT when manually constructing HttpRequest objects, and removed tests that explicitly test the absence of these.
1. Remove return from EmptySearchResults.__init__. Init method is
required to return None.
2. Remove useless self-assignment from BaseSearchBackend.
3. Remove useless self-assignment from wagtail.tests.settings.