Compare commits

...

5 Commits

Author SHA1 Message Date
Raphael Michel
a1c1df3e13 Bump to 3.17.2 2021-04-01 11:02:50 +02:00
Raphael Michel
027f133b5f Fix #2015 -- Shift operation into a later migration 2021-04-01 11:02:43 +02:00
Raphael Michel
05932495f0 GitLab: Move npm install command 2021-03-31 14:35:29 +02:00
Raphael Michel
ceae4b50b9 Fix missing manifest rules 2021-03-31 13:20:26 +02:00
Raphael Michel
60dcfe2308 Hotfix: Avoid infinite loop in migration at all cost 2021-03-31 13:09:09 +02:00
5 changed files with 9 additions and 7 deletions

View File

@@ -24,11 +24,11 @@ pypi:
- XDG_CACHE_HOME=/cache pip3 install -Ur src/requirements.txt -r src/requirements/dev.txt
- cd src
- python setup.py sdist
- make npminstall
- pip install dist/pretix-*.tar.gz
- python -m pretix migrate
- python -m pretix check
- check-manifest
- make npminstall
- python setup.py sdist bdist_wheel
- twine check dist/*
- twine upload dist/*

View File

@@ -26,3 +26,5 @@ recursive-include pretix/plugins/badges/templates *
recursive-include pretix/plugins/badges/static *
recursive-include pretix/plugins/returnurl/templates *
recursive-include pretix/plugins/returnurl/static *
recursive-include pretix/plugins/webcheckin/templates *
recursive-include pretix/plugins/webcheckin/static *

View File

@@ -1 +1 @@
__version__ = "3.17.0"
__version__ = "3.17.2"

View File

@@ -4,7 +4,7 @@ from django.db import migrations
def clean_duplicates(apps, schema_editor):
while True:
for i in range(100): # no infinite loops
# Double subquery to avoid MySQL error 1093
delete_options = """
DELETE
@@ -47,8 +47,4 @@ class Migration(migrations.Migration):
clean_duplicates,
migrations.RunPython.noop,
),
migrations.AlterUniqueTogether(
name='questionanswer',
unique_together={('orderposition', 'question'), ('cartposition', 'question')},
),
]

View File

@@ -10,6 +10,10 @@ class Migration(migrations.Migration):
]
operations = [
migrations.AlterUniqueTogether(
name='questionanswer',
unique_together={('orderposition', 'question'), ('cartposition', 'question')},
),
migrations.RemoveField(
model_name='quota',
name='cached_availability_number',