Skip to content

Commit

Permalink
fix: remove unused notes field from SchedSessTimeAssignment model (#7832
Browse files Browse the repository at this point in the history
)
  • Loading branch information
rjsparks committed Aug 21, 2024
1 parent bb0b342 commit f53d1ca
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 4.2.15 on 2024-08-16 13:49

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
("meeting", "0007_attended_origin_attended_time"),
]

operations = [
migrations.RemoveField(
model_name="schedtimesessassignment",
name="notes",
),
]
3 changes: 1 addition & 2 deletions ietf/meeting/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,6 @@ class SchedTimeSessAssignment(models.Model):
schedule = ForeignKey('Schedule', null=False, blank=False, related_name='assignments')
extendedfrom = ForeignKey('self', null=True, default=None, help_text="Timeslot this session is an extension of.")
modified = models.DateTimeField(auto_now=True)
notes = models.TextField(blank=True)
badness = models.IntegerField(default=0, blank=True, null=True)
pinned = models.BooleanField(default=False, help_text="Do not move session during automatic placement.")

Expand Down Expand Up @@ -1423,7 +1422,7 @@ class MeetingHost(models.Model):
validate_file_extension,
settings.MEETING_VALID_UPLOAD_EXTENSIONS['meetinghostlogo'],
),
WrappedValidator(
WrappedValidator(
validate_mime_type,
settings.MEETING_VALID_UPLOAD_MIME_TYPES['meetinghostlogo'],
True,
Expand Down
1 change: 0 additions & 1 deletion ietf/meeting/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,6 @@ class Meta:
filtering = {
"id": ALL,
"modified": ALL,
"notes": ALL,
"badness": ALL,
"pinned": ALL,
"timeslot": ALL_WITH_RELATIONS,
Expand Down

0 comments on commit f53d1ca

Please sign in to comment.