2017-10-24 22:45:33 -04:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Generated by Django 1.11.6 on 2017-10-25 02:42
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
2023-08-10 02:52:37 -04:00
|
|
|
("users", "0005_auto_20171023_0158"),
|
|
|
|
("entries", "0001_initial"),
|
2017-10-24 22:45:33 -04:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2023-08-10 02:52:37 -04:00
|
|
|
name="Syndication",
|
2017-10-24 22:45:33 -04:00
|
|
|
fields=[
|
2023-08-10 02:52:37 -04:00
|
|
|
(
|
|
|
|
"id",
|
|
|
|
models.AutoField(
|
|
|
|
auto_created=True,
|
|
|
|
primary_key=True,
|
|
|
|
serialize=False,
|
|
|
|
verbose_name="ID",
|
|
|
|
),
|
|
|
|
),
|
|
|
|
("url", models.CharField(max_length=255)),
|
|
|
|
(
|
|
|
|
"entry",
|
|
|
|
models.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
|
|
related_name="syndications",
|
|
|
|
to="entries.Entry",
|
|
|
|
),
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"profile",
|
|
|
|
models.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.CASCADE, to="users.Profile"
|
|
|
|
),
|
|
|
|
),
|
2017-10-24 22:45:33 -04:00
|
|
|
],
|
|
|
|
options={
|
2023-08-10 02:52:37 -04:00
|
|
|
"ordering": ["profile"],
|
2017-10-24 22:45:33 -04:00
|
|
|
},
|
|
|
|
),
|
|
|
|
]
|