0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-24 19:17:48 +01:00
wagtail/wagtail
Andy Babic 66f1e817eb
Allow page types to easily restrict what type of requests they respond to (#12473)
* Allow page types to specify the request methods they support and block unsupported requests in serve()
* Use 'before_serve_page' hook to serve OPTIONS responses
* Add checks to RoutablePageMixin.serve() where the parent implementation is bypassed
* Rename check_http_method to check_request_method and actually use the return value
* Support Python 3.9 through to current approaches for `http` method strings
* Include documentation, docstrings & changelog entry
2024-11-20 10:15:36 +10:00
..
actions
admin Fetch new translations from Transifex 2024-11-19 15:56:20 +00:00
api
bin
blocks
contrib Fetch new translations from Transifex 2024-11-19 15:56:20 +00:00
documents Fetch translations from Transifex 2024-11-19 15:56:11 +00:00
embeds Fetch new translations from Transifex 2024-11-19 15:56:20 +00:00
images Remove canvas-to-blob polyfill 2024-11-20 07:46:40 +10:00
locale Fetch new translations from Transifex 2024-11-19 15:56:20 +00:00
locales Fetch translations from Transifex 2024-11-19 15:56:11 +00:00
management
migrations
models Allow page types to easily restrict what type of requests they respond to (#12473) 2024-11-20 10:15:36 +10:00
permission_policies
project_template
rich_text
search Fetch new translations from Transifex 2024-11-19 15:56:20 +00:00
sites Fetch translations from Transifex 2024-11-19 15:56:11 +00:00
snippets Fetch translations from Transifex 2024-11-19 15:56:11 +00:00
templates/wagtailcore
templatetags
test Allow page types to easily restrict what type of requests they respond to (#12473) 2024-11-20 10:15:36 +10:00
tests Allow page types to easily restrict what type of requests they respond to (#12473) 2024-11-20 10:15:36 +10:00
users Fetch translations from Transifex 2024-11-19 15:56:11 +00:00
utils
__init__.py
apps.py
compat.py Allow page types to easily restrict what type of requests they respond to (#12473) 2024-11-20 10:15:36 +10:00
coreutils.py
exceptions.py
fields.py
forms.py
hooks.py
jinja2tags.py
locks.py
log_actions.py
permissions.py
query.py
signal_handlers.py
signals.py
telepath.py
url_routing.py
urls.py
views.py
wagtail_hooks.py Allow page types to easily restrict what type of requests they respond to (#12473) 2024-11-20 10:15:36 +10:00
whitelist.py
widget_adapters.py
workflows.py