Skip to main content

This is a plugin for pretix.

Add content to your emails based on the questions the customer answered, and the answer they gave.

You can create multiple new placeholders, and can add several rules for each of them, with fallback texts for other answers or unanswered questions.

Development setup

  1. Make sure that you have a working pretix development setup.

  2. Clone this repository.

  3. Activate the virtual environment you use for pretix development.

  4. Execute python setup.py develop within this directory to register this application with pretix’s plugin registry.

  5. Execute make within this directory to compile translations.

  6. Restart your local pretix server. You can now use the plugin from this repository for your events by enabling it in the ‘plugins’ tab in the settings.

This plugin has CI set up to enforce a few code style rules. To check locally, you need these packages installed:

pip install flake8 isort black docformatter

To check your plugin for rule violations, run:

docformatter –check -r . black –check . isort -c . flake8 .

You can auto-fix some of these issues by running:

docformatter -r . isort . black .

To automatically check for these issues before you commit, you can run .install-hooks.

License

Copyright 2021 Tobias Kunze

Released under the terms of the Apache License 2.0

Metadata

Release files for pretix-question-placeholders 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pretix-question-placeholders 0.7.0
File Size Uploaded
pretix_question_placeholders-0.7.0.tar.gz 15.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pretix-question-placeholders 0.7.0
File Interpreter ABI Platform
pretix_question_placeholders-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 39.2 kB

Release files / pretix_question_placeholders-0.7.0.tar.gz

Download URL pretix_question_placeholders-0.7.0.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
52a176750c39364c92320b6296eaf0e4f68655edfdfcc09a87b0e0eee73a3688
BLAKE2b-256 checksum
How to use checksums
ca6e6d74a1155f56414d09ddd04bd5469973083c90173ea2c5918a3fc17563f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / pretix_question_placeholders-0.7.0-py3-none-any.whl

Download URL pretix_question_placeholders-0.7.0-py3-none-any.whl
Size 23.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5a321f8317478c89d533e16fafd726cbabf929d584e2ba81a942c559550b329
BLAKE2b-256 checksum
How to use checksums
5c833e286207f25ff0fe3e2525e2ab80722d6166432415f9ed267551e6687a3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.0

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page