Django says there are no changes to be made when I migrate
<p>I'm attempted to create a database for a fictional school. Unfortunatley when I try to migrate the tables this happens:</p>

<p>C:\Python34\Scripts\schoolDatabase>manage.py makemigrations school</p>

<p>C:\Python34\Scripts\schoolDatabase>python manage.py makemigrations school
No changes detected in app 'school'</p>

<p>This is the model I am referring to:</p>

<pre><code>TYPE_OF_PERSON = (
('T', 'Teacher'),
('S', 'Student'),) 
DETENTION_COMPLETED = (
('Y', 'Yes'),
'N', 'No'
OUTCOME = (
('P', 'Pass'),
('F', 'Fail')
)
class Person:
first_name = models.CharField(max_length = 25)
surname = models.CharField(max_length = 25)
address = models.CharField(max_length = 45)
year_group = models.CharField(max_length = 10)
form = models.CharField(max_length = 15)
type_of_person = models.CharField(choices = TYPE_OF_PERSON)
person_id = models.CharField(primary_key = True)

class Subject:
name = models.CharField(max_length = 25)
class SchoolClass:
class_id = models.IntegerField(primary_key = True)
person_id = models.ForeignKey('Person')
subject = models.ForeignKey('Subject')
year_group = models.ForeignKey('Person')

class Attendance:
school_class = models.ForeignKey('SchoolClass')
date = models.DateField()
start_time = models.TimeField()
end_time = models.TimeField()
person_id = models.ForeignKey('Person')

class Assignment:
assignment_id = models.IntegerField(primary_key = True)
subject = models.ForeignKey('Subject')
school_class = models.ForeignKey('SchoolClass')
teacher = models.ForeignKey('Person')
description =models.TextField()
date_set = models.DateField()
due_date = models.DateField()
mark = models.CharField(max_length = 20)
comments = models.TextField()

class Detention:
detention_date = models.DateField()
student_id = models.ForeignKey('Person')
reason = models.CharField(max_length = 30)
completed = models.CharField(choices = DETENTION_COMPLETED)

class Exam:
exam_id = models.IntegerField(primary_key = True)
subject = models.ForeignKey('Subject')
paper = models.CharField(max_length = 30)
score = models.CharField(max_length = 20)
outcome = models.CharField(choices = OUTCOME)
</code></pre>

<p>I heard that if managed was set to False then Django won't create tables when you migrate, but I don't know how to set it to True. </p>

<p>When I typed in:</p>

<p>manage.py inspectdb it showed me that managed was set to False but how do I change it to True so that my database will be migrated?</p>

<p>Here is the traceback:</p>

<p>C:\Python34\Scripts\schoolDatabase>manage.py makemigrations school</p>

<p>C:\Python34\Scripts\schoolDatabase>python manage.py makemigrations school
No changes detected in app 'school'</p>

<pre><code>                                                                                                                          class DjangoMigrations(models.Model):                              id = models.IntegerField(primary_key=True)  # AutoField?       app = models.CharField(max_length=255)                         name = models.CharField(max_length=255)                        applied = models.DateTimeField()                                                                                              class Meta:                                                        managed = False                                                db_table = 'django_migrations'                         
</code></pre>

<p>Here is the tree:</p>

<p><a href="https://i.stack.imgur.com/yUQqU.png" rel="nofollow"><img src="https://i.stack.imgur.com/yUQqU.png" alt="enter image description here"></a>
<a href="https://i.stack.imgur.com/ZAevZ.png" rel="nofollow"><img src="https://i.stack.imgur.com/ZAevZ.png" alt="enter image description here"></a></p>

<p>Sorry about the poor formatting but stackoverflow won't let me put it in the code block. </p>

<p>Any help would be appreciated. </p>

<p>Settings.py:</p>

<pre><code>INSTALLED_APPS =[
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages.',
'django.contribe.staticfiles',
'school'
]
</code></pre>

<p>Your models should derive from models.Model:</p>

<pre><code> class Person(models.Model):
 ...
 class Subject(models.Model):
 ...
 ...
</code></pre>

python django migration