Fakultas Ilmu Komputer UI

models.py 218 Bytes
Newer Older
Samuel Dimas's avatar
Samuel Dimas committed
1
2
3
from django.db import models

# Create your models here.
4
5
6
7
class Materi(models.Model):
    cover = models.URLField(max_length=1000)
    title = models.CharField(max_length=50)
    author = models.CharField(max_length=30)