mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Replace Travis with GitHub actions and fix many typos (#1657)
* Create django.yml * Fix working directory * .. * . * .. * a. * .. * . * Fix typo * Install hunspell * maxfail * Fix install * . * Reduce number of typos * Even less typos * Postgres debug * Spelling fixes, yet again * Postgres with PW * Fix failing test * New workflows * Fix syntax error * Install gettext * Test aginst python 3.6 as well * Clean up strategies * Add badge, do not ignore migrations * Use pip cache
This commit is contained in:
@@ -751,7 +751,7 @@ class OrderCreateSerializer(I18nAwareModelSerializer):
|
||||
sales_channel = get_all_sales_channels()[self.initial_data['sales_channel']]
|
||||
|
||||
if testmode and not sales_channel.testmode_supported:
|
||||
raise ValidationError('This sales channel does not provide support for testmode.')
|
||||
raise ValidationError('This sales channel does not provide support for test mode.')
|
||||
except KeyError:
|
||||
# We do not need to raise a ValidationError here, since there is another check to validate the
|
||||
# sales_channel
|
||||
|
||||
Reference in New Issue
Block a user