Skip to content

Commit

Permalink
fixedfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnnsrs committed Nov 13, 2024
1 parent 3c0ea2f commit 07398e9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions komment/migrations/0004_alter_comment_object.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Generated by Django 4.2.5 on 2024-11-13 11:27

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("komment", "0003_alter_comment_created_at_alter_comment_descendants_and_more"),
]

operations = [
migrations.AlterField(
model_name="comment",
name="object",
field=models.CharField(
help_text="The object id of the object, on its associated service",
max_length=1000,
),
),
]
2 changes: 1 addition & 1 deletion komment/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Comment(models.Model):


identifier = models.CharField(max_length=1000, help_text="The identifier of the object. Consult the documentation for the format")
object = models.PositiveIntegerField(help_text="The object id of the object, on its associated service")
object = models.CharField(max_length=1000,help_text="The object id of the object, on its associated service")
user = models.ForeignKey(
get_user_model(),
on_delete=models.CASCADE,
Expand Down

0 comments on commit 07398e9

Please sign in to comment.