models.py
from django.conf import settings from django.db import models from subject.models import Subject from core.utils import generate_file_