Commit ffe79aa3 authored by Michal Čihař's avatar Michal Čihař

Avoid not needed import, reference model by name

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 54b69a82
......@@ -19,11 +19,10 @@
#
from django.db import models
from weblate.trans.models.unit import Unit
class IndexUpdate(models.Model):
unit = models.ForeignKey(Unit, unique=True)
unit = models.ForeignKey('Unit', unique=True)
source = models.BooleanField(default=True)
class Meta(object):
......
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