* Change the CommChannelMessage's 'message' field from a CharField to a TextField. This will allow messages that are greater than 255 characters to be stored. You'll want to drop your channels_commchannelmessage table and run syncdb again.
* Update the list of database drivers in the comments in config_defaults.py.
This commit is contained in:
parent
9954700bdd
commit
7b0bd55200
2 changed files with 2 additions and 2 deletions
|
|
@ -97,7 +97,7 @@ class CommChannelMessage(models.Model):
|
|||
A single logged channel message.
|
||||
"""
|
||||
channel = models.ForeignKey(CommChannel, related_name="msg_channel")
|
||||
message = models.CharField(max_length=255)
|
||||
message = models.TextField()
|
||||
date_sent = models.DateTimeField(editable=False, auto_now_add=True)
|
||||
|
||||
def __str__(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue