10 lines
200 B
Python
10 lines
200 B
Python
"""Admin module"""
|
|
from django.apps import apps
|
|
from django.contrib import admin
|
|
|
|
|
|
app = apps.get_app_config('nmgfitness')
|
|
|
|
for model_name, model in app.models.items():
|
|
admin.site.register(model)
|