Commit 71d3c3a6 authored by Michal Čihař's avatar Michal Čihař

Store subproject per change

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent f0377b12
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('trans', '0029_auto_20150415_1318'),
]
operations = [
migrations.AddField(
model_name='change',
name='subproject',
field=models.ForeignKey(to='trans.SubProject', null=True),
),
]
......@@ -219,6 +219,7 @@ class Change(models.Model):
))
unit = models.ForeignKey('Unit', null=True)
subproject = models.ForeignKey('SubProject', null=True)
translation = models.ForeignKey('Translation', null=True)
dictionary = models.ForeignKey('Dictionary', null=True)
user = models.ForeignKey(User, null=True)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment