from django.contrib import admin
from django.apps import apps
# Register your models here.
from django.contrib import admin
from .models import Category, Ingredient

admin.site.register(Category)
admin.site.register(Ingredient)

app = apps.get_app_config('graphql_auth')

for model_name, model in app.models.items():
    admin.site.register(model)