Skip to content

Commit

Permalink
Merge pull request #138 from HelloYeew/remove-comment-limit
Browse files Browse the repository at this point in the history
Remove character limit in beatmap card comment
  • Loading branch information
HelloYeew authored Oct 16, 2021
2 parents d975608 + 76c09db commit cc3d4a0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions rurusetto/wiki/migrations/0052_alter_recommendbeatmap_comment.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.8 on 2021-10-16 19:18

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('wiki', '0051_auto_20211010_1416'),
]

operations = [
migrations.AlterField(
model_name='recommendbeatmap',
name='comment',
field=models.TextField(blank=True, default=None),
),
]
2 changes: 1 addition & 1 deletion rurusetto/wiki/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class RecommendBeatmap(models.Model):
beatmap_list = models.ImageField(default='default_beatmap_thumbnail.jpeg', upload_to='beatmap_list', validators=[
FileExtensionValidator(allowed_extensions=['png', 'gif', 'jpg', 'jpeg', 'bmp', 'svg', 'webp'])])

comment = models.CharField(default=None, max_length=150)
comment = models.TextField(default=None, blank=True)

created_at = models.DateTimeField(auto_now_add=True)
owner_approved = models.BooleanField(default=False)
Expand Down

0 comments on commit cc3d4a0

Please sign in to comment.