academon/core/models/course.py

8 lines
203 B
Python
Raw Normal View History

2022-09-26 14:27:52 +00:00
from django.db import models
2022-09-20 14:02:39 +00:00
class Course(models.Model):
id = models.IntegerField(primary_key=True)
title = models.CharField(max_length=256)
shortcode = models.CharField(max_length=64)