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:
parent
e380382757
commit
5843a7e053
18
brutaldon/migrations/0022_auto_20190506_0938.py
Normal file
18
brutaldon/migrations/0022_auto_20190506_0938.py
Normal 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),
|
||||||
|
),
|
||||||
|
]
|
@ -8,7 +8,7 @@ timezones = [(tz, tz) for tz in common_timezones]
|
|||||||
class Client(models.Model):
|
class Client(models.Model):
|
||||||
name = models.CharField(default = "brutaldon", max_length=80)
|
name = models.CharField(default = "brutaldon", max_length=80)
|
||||||
api_base_id = models.URLField(default="https://mastodon.social")
|
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_id = models.CharField(null=True, blank=True, max_length=2048)
|
||||||
client_secret = models.CharField(null=True, blank=True, max_length=2048)
|
client_secret = models.CharField(null=True, blank=True, max_length=2048)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user