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 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 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-1.1.0.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

pretix_signature_question-1.1.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pretix-signature-question-1.1.0.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.1 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.9

File hashes

Hashes for pretix-signature-question-1.1.0.tar.gz
Algorithm Hash digest
SHA256 aedb8e7fc07c2da29eb3367cf88fd3832b4ed767959c6bc347c4dd66fa6039ed
MD5 b06d70f6cd29146268f75eb64f0e6092
BLAKE2b-256 1529d8060b49d061ff93529e213d2bcdeaa7a863bd538b4fbdd9eb7e214eee71

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pretix_signature_question-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.1 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.9

File hashes

Hashes for pretix_signature_question-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f7674600223df38f93e69f92cfb17e416af6459603c2ae2744544390ea93f6e
MD5 74a001f9b773d94e6ca6720935145ddf
BLAKE2b-256 ac6da835ae143b09c575b0e3a7121a4a14da418bbb3df42828f9236e062db8fc

See more details on using hashes here.

Supported by

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