From f68b0ad00f78c3aa947f348410851cf5dc70ced0 Mon Sep 17 00:00:00 2001 From: pierre geeraert Date: Tue, 30 Jun 2026 22:55:13 +0100 Subject: [PATCH] add model --- django_code/apps/podcast_aggregator/models.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/django_code/apps/podcast_aggregator/models.py b/django_code/apps/podcast_aggregator/models.py index 71a8362..071c7e4 100644 --- a/django_code/apps/podcast_aggregator/models.py +++ b/django_code/apps/podcast_aggregator/models.py @@ -1,3 +1,7 @@ from django.db import models -# Create your models here. +class podcastData(models.Model): + podcast_name = models.CharField(max_length=100, null=True) + podcast_url = models.CharField(max_length=100, null=True) + class Meta: + db_table = 'podcasts' \ No newline at end of file