Skip to content

Commit 1fbe153

Browse files
committed
Merge branch 'dev'
2 parents 4098987 + aa1c30e commit 1fbe153

2 files changed

Lines changed: 34 additions & 6 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Generated by Django 4.2 on 2024-08-17 04:48
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('genomes', '0016_alter_track_track_type'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='genome',
15+
name='description_html',
16+
field=models.TextField(blank=True, help_text='Description of the genome with inline HTML. Use `<br>` for a new line and `<a>` tags for links.', null=True),
17+
),
18+
migrations.AlterField(
19+
model_name='lab',
20+
name='description_html',
21+
field=models.TextField(blank=True, help_text='Description of the genome with inline HTML. Use `<br>` for a new line and `<a>` tags for links.', null=True),
22+
),
23+
migrations.AlterField(
24+
model_name='track',
25+
name='description_html',
26+
field=models.TextField(blank=True, help_text='Description of the genome with inline HTML. Use `<br>` for a new line and `<a>` tags for links.', null=True),
27+
),
28+
]

app/genomes/models.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ class Lab(models.Model):
1515
datetime_created = models.DateTimeField(auto_now_add=True)
1616
datetime_modified = models.DateTimeField(auto_now=True)
1717
description_html = models.TextField(null=True, blank=True, help_text=(
18-
"Description of the genome with inline HTML. Use `<br>` for a new line"
19-
" and `<a>` tags for links."
18+
"Description of the genome with inline HTML. Use `&lt;br&gt;` for a "
19+
"new line and `&lt;a&gt;` tags for links."
2020
))
2121
website_url = models.URLField(null=True, blank=True, help_text=(
2222
"URL pointing to lab group public website."
@@ -92,8 +92,8 @@ class Genome(models.Model):
9292
"URL pointing to a public Apollo genome/tracks."
9393
))
9494
description_html = models.TextField(null=True, blank=True, help_text=(
95-
"Description of the genome with inline HTML. Use `<br>` for a new line"
96-
" and `<a>` tags for links."
95+
"Description of the genome with inline HTML. Use `&lt;br&gt;` for a "
96+
"new line and `&lt;a&gt;` tags for links."
9797
))
9898
reference = models.TextField(null=True, blank=True)
9999
doi = models.CharField(max_length=255, null=True, blank=True)
@@ -167,8 +167,8 @@ class Track(models.Model):
167167
accession_id = models.CharField(max_length=255, null=True, blank=True)
168168
track_type = models.CharField(max_length=255, null=True, blank=True)
169169
description_html = models.TextField(null=True, blank=True, help_text=(
170-
"Description of the genome track with inline HTML. Use `<br>` for a"
171-
" new line and `<a>` tags for links."
170+
"Description of the genome with inline HTML. Use `&lt;br&gt;` for a "
171+
"new line and `&lt;a&gt;` tags for links."
172172
))
173173
apollo_url = models.URLField(null=True, blank=True, help_text=(
174174
"URL pointing to a public Apollo genome with this track loaded."

0 commit comments

Comments
 (0)