Created
July 25, 2015 22:46
-
-
Save alxpck/917f92c9c3c1cdd14f5f to your computer and use it in GitHub Desktop.
This file contains 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 | |
# Create your models here. | |
class Course(models.Model): | |
created_at = models.DateTimeField(auto_now_add=True) | |
title = models.CharField(max_length=255) | |
description = models.TextField() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment