oacpl/newsletters/migrations/0005_auto_20180226_1740.py

28 lines
775 B
Python
Raw Permalink Normal View History

2018-02-26 18:13:02 -05:00
# -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2018-02-26 22:40
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('newsletters', '0004_auto_20180114_2108'),
]
operations = [
migrations.CreateModel(
name='Attachment',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('file', models.FileField(upload_to='Newsletter')),
],
),
migrations.AddField(
model_name='newsletter',
name='attachments',
field=models.ManyToManyField(to='newsletters.Attachment'),
),
]