first commit

This commit is contained in:
kicap1992
2022-03-15 05:13:36 +08:00
commit 638f0a9aee
104 changed files with 2733 additions and 0 deletions

12
base/models.py Normal file
View File

@ -0,0 +1,12 @@
from django.db import models
# Create your models here.
class tb_bacaan(models.Model):
# id_bacaan = models.AutoField(primary_key=True)
judul_bacaan = models.CharField(max_length=100)
kategori = models.CharField(max_length=1)
image_url = models.TextField(null=True, blank=True)
audio_url = models.TextField(null=True, blank=True)
list_per_page = 10
def __str__(self):
return self.judul_bacaan