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/0003_blocklist_active.py
Normal file
18
feeds/migrations/0003_blocklist_active.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 5.0.1 on 2024-01-30 16:45
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('feeds', '0002_blocklist'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='blocklist',
|
||||
name='active',
|
||||
field=models.BooleanField(default=True, help_text='Is this URL still blocked?'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue