from django.contrib import admin
from django.apps import apps


# Register your models here. # Register your models here.
models = apps.get_models()

for model in models:
    try:
        admin.site.register(model)
    except admin.sites.AlreadyRegistered:
        pass
