hrss/web/migrations/0001_initial.py
2018-10-24 23:57:41 +02:00

31 lines
1.0 KiB
Python

# Generated by Django 2.0.7 on 2018-10-24 17:21
from django.db import migrations, models
import web.models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Feed',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('url', models.URLField(max_length=255)),
('element', models.CharField(max_length=255)),
('title', models.CharField(max_length=255)),
('content', models.CharField(max_length=255)),
('date', models.CharField(max_length=255)),
('author', models.CharField(max_length=255)),
('link', models.CharField(max_length=255)),
('creation_date', models.DateTimeField(auto_now=True)),
('uurl', models.CharField(default=web.models.random_url, max_length=18, unique=True)),
],
),
]