from django.contrib import admin

from .models import Grade, Group, Pupil, Teacher, Warden

for model in {Grade, Group, Pupil, Teacher,  Warden}:
    admin.site.register(model)

from django.contrib import admin

from .models import Grade, Group, Pupil, Teacher, Warden, Course

for model in Grade, Group, Pupil, Teacher, Warden, Course:
    admin.site.register(model)

Add Course field to Admin
Add Course field to Admin

Oops! forgot..

  from django.contrib import admin
  
- from .models import Grade, Group, Pupil, Teacher, Warden
+ from .models import Grade, Group, Pupil, Teacher, Warden, Course
  
- for model in {Grade, Group, Pupil, Teacher,  Warden}:
+ for model in Grade, Group, Pupil, Teacher, Warden, Course:
      admin.site.register(model)
  
Add Course field to Admin
## Code Before:
from django.contrib import admin

from .models import Grade, Group, Pupil, Teacher, Warden

for model in {Grade, Group, Pupil, Teacher,  Warden}:
    admin.site.register(model)

## Instruction:
Add Course field to Admin
## Code After:
from django.contrib import admin

from .models import Grade, Group, Pupil, Teacher, Warden, Course

for model in Grade, Group, Pupil, Teacher, Warden, Course:
    admin.site.register(model)
