Skip to main content

Allows to draw a signature

Project description

This is a plugin for pretix.

Allows to draw a signature

Configuration / Usage

Each event can enable this plugin in Settings > Plugins > Customization.

Once the plugin is enabled you can add a question with type file to a ticket. The name of the question must contain signature. Instead of the upload dialog the signature field is displayed.

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 pip install -e . 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 pretix

Released under the terms of the Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pretix-signature-question-2-1.1.0.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pretix_signature_question_2-1.1.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file pretix-signature-question-2-1.1.0.tar.gz.

File metadata

File hashes

Hashes for pretix-signature-question-2-1.1.0.tar.gz
Algorithm Hash digest
SHA256 acba14cf88efc57566ea31b4a5945b5c79fb3d9b02a607bffae020234ffd891a
MD5 4f83f244a388ff1f06f9323bd33e85ff
BLAKE2b-256 fb48174ad0b8d5a717b4fd300f3383cefaf468ce5715f4a0f37495d3086b49f1

See more details on using hashes here.

File details

Details for the file pretix_signature_question_2-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pretix_signature_question_2-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4aa5dbb525d1de2e2b169b27cee3d70ec87cdc322ed107f91aa46a3649020d65
MD5 4a22a312ef7ea754fd16f64cc02f562d
BLAKE2b-256 c7b2b19edebcc8aff7b935883bbc83e345c68e1e7efef21b862a703cf0191d7e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page