Files
@ e9ebf5da03ea
Branch filter:
Location: symposion_app/registrasion/migrations/0009_auto_20160330_2336.py
e9ebf5da03ea
5.5 KiB
text/x-python
Writes inventory and overview documentation, and updates docstrings on a LOT of modules.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import datetime
class Migration(migrations.Migration):
dependencies = [
('registrasion', '0008_cart_released'),
]
operations = [
migrations.AlterModelOptions(
name='category',
options={'verbose_name_plural': 'categories'},
),
migrations.AlterModelOptions(
name='timeorstocklimitenablingcondition',
options={'verbose_name': 'ceiling'},
),
migrations.AlterField(
model_name='category',
name='limit_per_user',
field=models.PositiveIntegerField(help_text='The total number of items from this category one attendee may purchase.', null=True, verbose_name='Limit per user', blank=True),
),
migrations.AlterField(
model_name='category',
name='render_type',
field=models.IntegerField(help_text='The registration form will render this category in this style.', verbose_name='Render type', choices=[(1, 'Radio button'), (2, 'Quantity boxes')]),
),
migrations.AlterField(
model_name='category',
name='required',
field=models.BooleanField(help_text='If enabled, a user must select an item from this category.'),
),
migrations.AlterField(
model_name='categoryenablingcondition',
name='enabling_category',
field=models.ForeignKey(help_text='If a product from this category is purchased, this condition is met.', to='registrasion.Category'),
),
migrations.AlterField(
model_name='discountbase',
name='description',
field=models.CharField(help_text='A description of this discount. This will be included on invoices where this discount is applied.', max_length=255, verbose_name='Description'),
),
migrations.AlterField(
model_name='enablingconditionbase',
name='categories',
field=models.ManyToManyField(help_text='Categories whose products are enabled if this condition is met.', to='registrasion.Category', blank=True),
),
migrations.AlterField(
model_name='enablingconditionbase',
name='mandatory',
field=models.BooleanField(default=False, help_text='If there is at least one mandatory condition defined on a product or category, all such conditions must be met. Otherwise, at least one non-mandatory condition must be met.'),
),
migrations.AlterField(
model_name='enablingconditionbase',
name='products',
field=models.ManyToManyField(help_text='Products that are enabled if this condition is met.', to='registrasion.Product', blank=True),
),
migrations.AlterField(
model_name='includedproductdiscount',
name='enabling_products',
field=models.ManyToManyField(help_text='If one of these products are purchased, the discounts below will be enabled.', to='registrasion.Product', verbose_name='Including product'),
),
migrations.AlterField(
model_name='product',
name='description',
field=models.CharField(max_length=255, null=True, verbose_name='Description', blank=True),
),
migrations.AlterField(
model_name='product',
name='reservation_duration',
field=models.DurationField(default=datetime.timedelta(0, 3600), help_text='The length of time this product will be reserved before it is released for someone else to purchase.', verbose_name='Reservation duration'),
),
migrations.AlterField(
model_name='productenablingcondition',
name='enabling_products',
field=models.ManyToManyField(help_text='If one of these products are purchased, this condition is met.', to='registrasion.Product'),
),
migrations.AlterField(
model_name='timeorstocklimitdiscount',
name='end_time',
field=models.DateTimeField(help_text='This discount will only be available before this time.', null=True, verbose_name='End time', blank=True),
),
migrations.AlterField(
model_name='timeorstocklimitdiscount',
name='limit',
field=models.PositiveIntegerField(help_text='This discount may only be applied this many times.', null=True, verbose_name='Limit', blank=True),
),
migrations.AlterField(
model_name='timeorstocklimitdiscount',
name='start_time',
field=models.DateTimeField(help_text='This discount will only be available after this time.', null=True, verbose_name='Start time', blank=True),
),
migrations.AlterField(
model_name='timeorstocklimitenablingcondition',
name='end_time',
field=models.DateTimeField(help_text='Products included in this condition will only be available before this time.', null=True),
),
migrations.AlterField(
model_name='timeorstocklimitenablingcondition',
name='limit',
field=models.PositiveIntegerField(help_text='The number of items under this grouping that can be purchased.', null=True),
),
migrations.AlterField(
model_name='timeorstocklimitenablingcondition',
name='start_time',
field=models.DateTimeField(help_text='Products included in this condition will only be available after this time.', null=True),
),
]
|