[Django]-Django site administration can't manage data models

6👍

You also need to register your models to the admin:

testapp/admin.py:

from django.contrib import admin
from testapp.models import MyModel1, MyModle2


admin.site.register(MyModel1)
admin.site.register(MyModel2)

Leave a comment