Source code for theses.models

__copyright__ = "Copyright © Stichting SciPost (SciPost Foundation)"
__license__ = "AGPL v3"


from django.db import models
from django.contrib.contenttypes.fields import GenericRelation
from django.urls import reverse
from django.utils import timezone

from scipost.constants import SCIPOST_APPROACHES
from scipost.fields import ChoiceArrayField

from .constants import THESIS_TYPES
from .managers import ThesisLinkManager