Merge pull request #30 from sissbruecker/feature/#25-increase-url-limit
#25 Increase bookmark URL length limit
This commit is contained in:
commit
3373667c72
|
@ -0,0 +1,18 @@
|
||||||
|
# Generated by Django 2.2.13 on 2020-09-13 06:56
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('bookmarks', '0002_auto_20190629_2303'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='bookmark',
|
||||||
|
name='url',
|
||||||
|
field=models.URLField(max_length=2048),
|
||||||
|
),
|
||||||
|
]
|
|
@ -29,7 +29,7 @@ def build_tag_string(tag_names: List[str], delimiter: str = ','):
|
||||||
|
|
||||||
|
|
||||||
class Bookmark(models.Model):
|
class Bookmark(models.Model):
|
||||||
url = models.URLField()
|
url = models.URLField(max_length=2048)
|
||||||
title = models.CharField(max_length=512)
|
title = models.CharField(max_length=512)
|
||||||
description = models.TextField()
|
description = models.TextField()
|
||||||
website_title = models.CharField(max_length=512, blank=True, null=True)
|
website_title = models.CharField(max_length=512, blank=True, null=True)
|
||||||
|
|
Loading…
Reference in New Issue