Limit the available phone number country code in pretix phone number questions. Caution! Applies to the whole server!
Project description
This is a plugin for pretix.
Limit the available phone number country code in pretix phone number questions. Caution! Applies to the whole server! This plugin does not even have to be activated. As soon as you install it, it overrides the phone number prefixes available server-wide.
It applies to both phone number questions and the pretix built-in phone number field. Currently hard-coded to US phone numbers.
Development setup
Make sure that you have a working pretix development setup.
Clone this repository, eg to local/pretix-limit-phone-country.
Activate the virtual environment you use for pretix development.
Execute python setup.py develop within this directory to register this application with pretix’s plugin registry.
Execute make within this directory to compile translations.
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.
License
Copyright 2021 Tobias Kunze
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
Hashes for pretix-limit-phone-country-0.9.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab867de63f0128655018d4ad7078c6d48bd611c07f388a2a70ca56e8eb503fdb |
|
MD5 | 81181bf1ce39d059c83cea81a85164e5 |
|
BLAKE2b-256 | 73e8d5ef62ad1994ad14bf5bb02ca9868e838ed7e8ec7b6aebfa93e5872e5889 |