mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Re-added the ability to restrict a product sale by time
This commit is contained in:
24
src/pretix/base/migrations/0005_auto_20151206_1652.py
Normal file
24
src/pretix/base/migrations/0005_auto_20151206_1652.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('pretixbase', '0004_auto_20151024_0848'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='item',
|
||||
name='available_from',
|
||||
field=models.DateTimeField(null=True, help_text='This product will not be sold before the given date.', blank=True, verbose_name='Available from'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='item',
|
||||
name='available_until',
|
||||
field=models.DateTimeField(null=True, help_text='This product will not be sold after the given date.', blank=True, verbose_name='Available to'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user