mirror of
https://github.com/pretix/pretix.git
synced 2026-08-29 13:44:40 +00:00
flake8
This commit is contained in:
@@ -264,8 +264,8 @@ Arguments: ``position``, ``request``
|
|||||||
This signal allows you to override fields of the questions form that is presented during checkout
|
This signal allows you to override fields of the questions form that is presented during checkout
|
||||||
and by default only asks for the questions configured in the backend. You are supposed to return a
|
and by default only asks for the questions configured in the backend. You are supposed to return a
|
||||||
dictionary of dictionaries with globally unique keys. The value-dictionary should contain one or
|
dictionary of dictionaries with globally unique keys. The value-dictionary should contain one or
|
||||||
more of the following keys: ``label``, ``initial``, ``disabled``, ``validators``. The key of the
|
more of the following keys: ``label``, ``initial``, ``disabled``, ``validators``. The key of the
|
||||||
dictionary should be the form field name for system fields (e.g. ``company``), or the question's
|
dictionary should be the form field name for system fields (e.g. ``company``), or the question's
|
||||||
``identifier`` for user-defined questions.
|
``identifier`` for user-defined questions.
|
||||||
|
|
||||||
The ``position`` keyword argument will contain a ``CartPosition`` or ``OrderPosition`` object.
|
The ``position`` keyword argument will contain a ``CartPosition`` or ``OrderPosition`` object.
|
||||||
|
|||||||
@@ -31,6 +31,9 @@ export default defineConfig({
|
|||||||
// Allow serving source files from sibling plugin directories
|
// Allow serving source files from sibling plugin directories
|
||||||
allow: ['src', ...pluginDirs],
|
allow: ['src', ...pluginDirs],
|
||||||
},
|
},
|
||||||
|
cors: {
|
||||||
|
origin: /^https?:\/\/(?:(?:[^:]+\.)?localhost|127\.0\.0\.1|\[::1\]|[^:]+\.pretix\.dev)(?::\d+)?$/
|
||||||
|
},
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
manifest: true,
|
manifest: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user