Skip to content

Commit

Permalink
Update Max character count on fields ISSUE #495 Pull Request - Owen
Browse files Browse the repository at this point in the history
  • Loading branch information
owen2608 committed Nov 5, 2023
1 parent 1b864ec commit c3f4681
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hknweb/academics/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class Migration(migrations.Migration):
name='Rating',
fields=[
('academicentity_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='academics.AcademicEntity')),
('question_text', models.TextField(max_length=500)),
('question_text', models.TextField(max_length=2000)),
('inverted', models.BooleanField(default=False)),
('range_max', models.IntegerField(default=7)),
('rating_value', models.FloatField()),
Expand Down
2 changes: 1 addition & 1 deletion hknweb/academics/migrations/0002_auto_20211223_1902.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='icsr',
name='course_name',
field=models.TextField(default='', max_length=500),
field=models.TextField(default='', max_length=2000),
),
]
2 changes: 1 addition & 1 deletion hknweb/events/models/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Event(models.Model):
end_time = models.DateTimeField()
location = models.CharField(max_length=255)
event_type = models.ForeignKey(EventType, models.CASCADE)
description = MarkdownxField(max_length=500)
description = MarkdownxField(max_length=2000)
rsvp_limit = models.PositiveIntegerField(null=True, blank=True)
access_level = models.IntegerField(
choices=ACCESS_LEVELS,
Expand Down

0 comments on commit c3f4681

Please sign in to comment.