bornhack-website/tickets/migrations/0002_auto_20160506_1602.py

37 lines
1.2 KiB
Python
Raw Normal View History

2016-05-06 20:33:59 +00:00
# -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-05-06 16:02
from __future__ import unicode_literals
import django.contrib.postgres.fields.ranges
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('tickets', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='ticket',
name='camp',
),
migrations.AlterField(
model_name='ticket',
name='ticket_type',
field=models.ForeignKey(help_text='The type of the ticket.', on_delete=django.db.models.deletion.CASCADE, to='tickets.TicketType', verbose_name='Ticket type'),
),
migrations.AlterField(
model_name='tickettype',
name='available_in',
field=django.contrib.postgres.fields.ranges.DateTimeRangeField(help_text='Which period is this ticket available for purchase? | (Format: YYYY-MM-DD HH:MM) | Only one of start/end is required'),
),
migrations.AlterField(
model_name='tickettype',
name='name',
field=models.CharField(max_length=150),
),
]