from django.db import models


class Subject(models.Model):
    is_active = models.BooleanField(default=True)
    name = models.CharField(max_length=256)
    code = models.CharField(max_length=128)
    semester = models.IntegerField()
    description = models.TextField()
    prerequisites = models.ForeignKey('Subject', on_delete=models.DO_NOTHING)

a9851819bd45a0b58d682d6367873f04411a544f
<mask token>

<mask token>


class Subject(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Subject(models.Model):
    is_active = models.BooleanField(default=True)
    name = models.CharField(max_length=256)
    code = models.CharField(max_length=128)
    semester = models.IntegerField()
    description = models.TextField()
    prerequisites = models.ForeignKey('Subject', on_delete=models.DO_NOTHING)

from django.db import models


class Subject(models.Model):
    is_active = models.BooleanField(default=True)
    name = models.CharField(max_length=256)
    code = models.CharField(max_length=128)
    semester = models.IntegerField()
    description = models.TextField()
    prerequisites = models.ForeignKey('Subject', on_delete=models.DO_NOTHING)
