mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
13 lines
210 B
Python
13 lines
210 B
Python
# coding=utf-8
|
|
from django.db import models
|
|
|
|
from problem.models import AbstractProblem
|
|
|
|
|
|
class Contest(models.Model):
|
|
pass
|
|
|
|
|
|
class ContestProblem(AbstractProblem):
|
|
contest = models.ForeignKey(Contest)
|