X-Git-Url: http://gitweb.fperrin.net/?p=djsite.git;a=blobdiff_plain;f=quotes%2Fmigrations%2F0002_context_author.py;fp=quotes%2Fmigrations%2F0002_auto_20161031_0033.py;h=79ca5e31a0316e0d4186af9eac4bd3280c53dce8;hp=f83d287e79f7cb1050f30f4ab91e0241dd11d9dd;hb=1beb1e7de4e076707eedf1be7386b238f19aeb60;hpb=5c563ff1701456a2ca7108a301e4e48457475daa diff --git a/quotes/migrations/0002_auto_20161031_0033.py b/quotes/migrations/0002_context_author.py similarity index 55% rename from quotes/migrations/0002_auto_20161031_0033.py rename to quotes/migrations/0002_context_author.py index f83d287..79ca5e3 100644 --- a/quotes/migrations/0002_auto_20161031_0033.py +++ b/quotes/migrations/0002_context_author.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -# Generated by Django 1.10.2 on 2016-10-31 00:33 from __future__ import unicode_literals from django.db import migrations, models @@ -12,9 +11,10 @@ class Migration(migrations.Migration): ] operations = [ - migrations.AlterField( - model_name='author', - name='tags', - field=models.ManyToManyField(to='quotes.Tag'), + migrations.AddField( + model_name='context', + name='author', + field=models.ForeignKey(default=1, to='quotes.Author'), + preserve_default=False, ), ]