Skip to content

Commit

Permalink
adjust max message size limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Steinborn authored and Eric Steinborn committed Apr 20, 2018
1 parent 3c17806 commit b6a4285
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion twilio_mgr/migrations/0009_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Migration(migrations.Migration):
name='Message',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('message', models.CharField(max_length=400)),
('message', models.CharField(max_length=1000)),
('keyword', models.CharField(max_length=100)),
],
),
Expand Down
2 changes: 1 addition & 1 deletion twilio_mgr/migrations/0010_auto_20180402_1857.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='message',
name='message',
field=models.CharField(max_length=400, unique=True),
field=models.CharField(max_length=1000, unique=True),
),
]
2 changes: 1 addition & 1 deletion twilio_mgr/migrations/0012_auto_20180402_1919.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='messagelog',
name='message',
field=models.CharField(max_length=400, null=True),
field=models.CharField(max_length=1000, null=True),
),
]
2 changes: 1 addition & 1 deletion twilio_mgr/migrations/0021_auto_20180412_2019.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='message',
name='message',
field=models.CharField(max_length=400),
field=models.CharField(max_length=1000),
),
]
4 changes: 2 additions & 2 deletions twilio_mgr/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __str__(self):


class Message(models.Model):
message = models.CharField(max_length=400)
message = models.CharField(max_length=1000)
keyword = models.CharField(max_length=100,unique=True)


Expand All @@ -60,7 +60,7 @@ def __str__(self):
class MessageLog(models.Model):
sms_number = models.CharField(max_length=100, null=True, blank=True) #models.ForeignKey(SmsNumber, null=True, on_delete=models.SET_NULL)
email = models.CharField(max_length=100, null=True, blank=True)
message = models.CharField(max_length=400, null=True)
message = models.CharField(max_length=1000, null=True)
date_sent = models.DateTimeField(auto_now_add=True, blank=True)

def __str__(self):
Expand Down

0 comments on commit b6a4285

Please sign in to comment.