1
0
mirror of https://gitlab.com/brutaldon/brutaldon.git synced 2024-12-04 14:46:24 -05:00

Increase length of version field for Pleroma compatibility

This commit is contained in:
Jason McBrayer 2019-05-06 09:38:43 -04:00
parent e380382757
commit 5843a7e053
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 2.2.1 on 2019-05-06 13:38
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('brutaldon', '0021_client_version'),
]
operations = [
migrations.AlterField(
model_name='client',
name='version',
field=models.CharField(default='1.0', max_length=80),
),
]

View File

@ -8,7 +8,7 @@ timezones = [(tz, tz) for tz in common_timezones]
class Client(models.Model):
name = models.CharField(default = "brutaldon", max_length=80)
api_base_id = models.URLField(default="https://mastodon.social")
version = models.CharField(default="1.0", max_length=8)
version = models.CharField(default="1.0", max_length=80)
client_id = models.CharField(null=True, blank=True, max_length=2048)
client_secret = models.CharField(null=True, blank=True, max_length=2048)