0004_link.py 857 Bytes
Newer Older
1 2 3
# Generated by Django 2.2.1 on 2019-05-05 11:42

import django.db.models.deletion
4
from django.db import migrations, models
5 6 7 8


class Migration(migrations.Migration):

9
    dependencies = [("social", "0003_socialuser_avatar")]
10 11 12

    operations = [
        migrations.CreateModel(
13
            name="Link",
14
            fields=[
15 16 17 18 19 20 21 22 23 24 25 26
                (
                    "sharable_ptr",
                    models.OneToOneField(
                        auto_created=True,
                        on_delete=django.db.models.deletion.CASCADE,
                        parent_link=True,
                        primary_key=True,
                        serialize=False,
                        to="social.Sharable",
                    ),
                ),
                ("url", models.URLField()),
27
            ],
28 29
            bases=("social.sharable",),
        )
30
    ]