-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
+# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.db import models, migrations
from django.conf import settings
('token', models.CharField(max_length=64, null=True, blank=True)),
('token_secret', models.CharField(max_length=64, null=True, blank=True)),
('beta', models.BooleanField(default=False)),
- ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL)),
+ ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL, on_delete=models.CASCADE)),
],
options={
},