mirror of
https://github.com/pretix/pretix.git
synced 2025-12-05 21:32:28 +00:00
Compare commits
5 Commits
img-srcset
...
v3.17.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a1c1df3e13 | ||
|
|
027f133b5f | ||
|
|
05932495f0 | ||
|
|
ceae4b50b9 | ||
|
|
60dcfe2308 |
@@ -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/*
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = "3.17.0"
|
||||
__version__ = "3.17.2"
|
||||
|
||||
@@ -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')},
|
||||
),
|
||||
]
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user