Skip to content

Commit

Permalink
fix: remove unused internal_comments from the DocumentInfo abstract m…
Browse files Browse the repository at this point in the history
…odel (#7833)
  • Loading branch information
rjsparks authored Aug 21, 2024
1 parent f53d1ca commit c323cdd
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Generated by Django 4.2.15 on 2024-08-16 16:43

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
("doc", "0021_narrativeminutes"),
]

operations = [
migrations.RemoveField(
model_name="dochistory",
name="internal_comments",
),
migrations.RemoveField(
model_name="document",
name="internal_comments",
),
]
1 change: 0 additions & 1 deletion ietf/doc/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ class DocumentInfo(models.Model):
external_url = models.URLField(blank=True)
uploaded_filename = models.TextField(blank=True)
note = models.TextField(blank=True)
internal_comments = models.TextField(blank=True)
rfc_number = models.PositiveIntegerField(blank=True, null=True) # only valid for type="rfc"

def file_extension(self):
Expand Down
2 changes: 0 additions & 2 deletions ietf/doc/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ class Meta:
"external_url": ALL,
"uploaded_filename": ALL,
"note": ALL,
"internal_comments": ALL,
"name": ALL,
"type": ALL_WITH_RELATIONS,
"stream": ALL_WITH_RELATIONS,
Expand Down Expand Up @@ -247,7 +246,6 @@ class Meta:
"external_url": ALL,
"uploaded_filename": ALL,
"note": ALL,
"internal_comments": ALL,
"name": ALL,
"type": ALL_WITH_RELATIONS,
"stream": ALL_WITH_RELATIONS,
Expand Down
7 changes: 1 addition & 6 deletions ietf/secr/static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -319,11 +319,6 @@ input.draft-file-input {
width: 4em;
}

.draft-container #id_internal_comments {
height: 4em;
width: 40em;
}

.draft-container #id_abstract {
height: 15em;
width: 40em;
Expand Down Expand Up @@ -842,4 +837,4 @@ td, th, li, h2 {

thead th {
font-size: 12px;
}
}

0 comments on commit c323cdd

Please sign in to comment.