from django.contrib import admin
from django.apps import apps
from django.contrib.auth.models import User, Group
app = apps.get_app_config('projeto')
admin.site.unregister(User)
admin.site.unregister(Group)
for model_name, model in app.models.items():
    admin.site.register(model)

46195d490d8f136a170881d2d06e38153cd9c06f
<mask token>

<mask token>
admin.site.unregister(User)
admin.site.unregister(Group)
for model_name, model in app.models.items():
    admin.site.register(model)

<mask token>
app = apps.get_app_config('projeto')
admin.site.unregister(User)
admin.site.unregister(Group)
for model_name, model in app.models.items():
    admin.site.register(model)

from django.contrib import admin
from django.apps import apps
from django.contrib.auth.models import User, Group
app = apps.get_app_config('projeto')
admin.site.unregister(User)
admin.site.unregister(Group)
for model_name, model in app.models.items():
    admin.site.register(model)
