academon/core/models/course.py
2022-09-26 14:27:52 +00:00

8 lines
No EOL
203 B
Python

from django.db import models
class Course(models.Model):
id = models.IntegerField(primary_key=True)
title = models.CharField(max_length=256)
shortcode = models.CharField(max_length=64)