Created
July 14, 2019 07:17
-
-
Save aballah-chamakh/dcdd4e4c8274abbad3bede69483e0e19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django.db import models | |
| class Lecture(models.Model): | |
| title = models.CharField(max_length=255) | |
| slug = models.SlugField() | |
| description = models.TextField() | |
| video_url = models.CharField(max_length=500) | |
| def __str__(self): | |
| return self.title |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment