Coverage for crateweb/consent/migrations/0011_auto_20181022_0801.py: 100%
5 statements
« prev ^ index » next coverage.py v7.8.0, created at 2025-08-27 10:34 -0500
« prev ^ index » next coverage.py v7.8.0, created at 2025-08-27 10:34 -0500
1"""
2crate_anon/crateweb/consent/migrations/0011_auto_20181022_0801.py
4===============================================================================
6 Copyright (C) 2015, University of Cambridge, Department of Psychiatry.
7 Created by Rudolf Cardinal (rnc1001@cam.ac.uk).
9 This file is part of CRATE.
11 CRATE is free software: you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
16 CRATE is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with CRATE. If not, see <https://www.gnu.org/licenses/>.
24===============================================================================
26crate_anon/crateweb/consent/migrations/0010_auto_20180629_1238.py
27**Consent app, migration 0011.**
29"""
31# Generated by Django 2.1.2 on 2018-10-22 08:01
33from django.db import migrations, models
35from crate_anon.crateweb.consent.models import _get_default_email_sender
38class Migration(migrations.Migration):
40 dependencies = [
41 ("consent", "0010_auto_20180629_1238"),
42 ]
44 # noinspection PyProtectedMember
45 operations = [
46 migrations.AddField(
47 model_name="study",
48 name="summary_is_html",
49 field=models.BooleanField(
50 default=False,
51 verbose_name="Is the summary in HTML (not plain text) format?",
52 ),
53 ),
54 migrations.AlterField(
55 model_name="email",
56 name="sender",
57 field=models.CharField(
58 default=_get_default_email_sender,
59 max_length=255,
60 ),
61 ),
62 ]