from django.contrib import admin

from .models import *

admin.site.register(Weekday)
admin.site.register(Meal)
admin.site.register(MealOption)
admin.site.register(Course)
admin.site.register(Timetable)
admin.site.register(Dish)
admin.site.register(Admin)

from django.contrib import admin

from . import models

admin.site.register(models.Weekday)
admin.site.register(models.Meal)
admin.site.register(models.MealOption)
admin.site.register(models.Course)
admin.site.register(models.Timetable)
admin.site.register(models.Dish)
admin.site.register(models.Admin)

Change module import to pass flake8 tests
Change module import to pass flake8 tests

  from django.contrib import admin
  
- from .models import *
+ from . import models
  
- admin.site.register(Weekday)
+ admin.site.register(models.Weekday)
- admin.site.register(Meal)
+ admin.site.register(models.Meal)
- admin.site.register(MealOption)
+ admin.site.register(models.MealOption)
- admin.site.register(Course)
+ admin.site.register(models.Course)
- admin.site.register(Timetable)
+ admin.site.register(models.Timetable)
- admin.site.register(Dish)
+ admin.site.register(models.Dish)
- admin.site.register(Admin)
+ admin.site.register(models.Admin)
  
Change module import to pass flake8 tests
## Code Before:
from django.contrib import admin

from .models import *

admin.site.register(Weekday)
admin.site.register(Meal)
admin.site.register(MealOption)
admin.site.register(Course)
admin.site.register(Timetable)
admin.site.register(Dish)
admin.site.register(Admin)

## Instruction:
Change module import to pass flake8 tests
## Code After:
from django.contrib import admin

from . import models

admin.site.register(models.Weekday)
admin.site.register(models.Meal)
admin.site.register(models.MealOption)
admin.site.register(models.Course)
admin.site.register(models.Timetable)
admin.site.register(models.Dish)
admin.site.register(models.Admin)
