Validate URLs before adding
This commit is contained in:
parent
6f544db209
commit
c41780fca0
12 changed files with 386 additions and 16 deletions
18
feeds/migrations/0004_alter_blocklist_url.py
Normal file
18
feeds/migrations/0004_alter_blocklist_url.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 5.0.1 on 2024-01-30 18:22
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('feeds', '0003_blocklist_active'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='blocklist',
|
||||
name='url',
|
||||
field=models.CharField(help_text='The URL to block.', max_length=2000, unique=True),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue