You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.0 KiB
Python
32 lines
1.0 KiB
Python
# Generated by Django 3.1.4 on 2021-01-01 22:27
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('litl', '0003_auto_20210101_1203'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveField(
|
|
model_name='slug',
|
|
name='destination',
|
|
),
|
|
migrations.AddField(
|
|
model_name='slug',
|
|
name='bulk',
|
|
field=models.BooleanField(default=False, help_text='Generate a short URL leading to multiple destinations'),
|
|
),
|
|
migrations.CreateModel(
|
|
name='Destination',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('destination', models.CharField(help_text='The destination URL, limited to 300 characters.', max_length=300)),
|
|
('slug', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='litl.slug')),
|
|
],
|
|
),
|
|
]
|