Add OdyseeScraper
This commit is contained in:
parent
603ed983e9
commit
01bdcb4f7d
@ -32,6 +32,7 @@ ALLOWED_HOSTS = []
|
||||
# Application definition
|
||||
|
||||
INSTALLED_APPS = [
|
||||
'odyseescraper.apps.OdyseescraperConfig',
|
||||
'django.contrib.admin',
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
|
34
odyseescraper/migrations/0001_initial.py
Normal file
34
odyseescraper/migrations/0001_initial.py
Normal file
@ -0,0 +1,34 @@
|
||||
# Generated by Django 5.1.5 on 2025-01-19 05:10
|
||||
|
||||
import django.db.models.deletion
|
||||
import uuid
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='OdyseeChannel',
|
||||
fields=[
|
||||
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
||||
('name', models.CharField(max_length=1024)),
|
||||
('handle', models.CharField(max_length=1024)),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='OdyseeRelease',
|
||||
fields=[
|
||||
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
||||
('name', models.CharField(max_length=1024)),
|
||||
('description', models.TextField()),
|
||||
('url', models.URLField(max_length=512)),
|
||||
('channel', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='odyseescraper.odyseechannel')),
|
||||
],
|
||||
),
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user