django admin register model from specific database code example
Example: django admin register mdoel
from django.contrib import admin
from myproject.myapp.models import Author
admin.site.register(Author)
from django.contrib import admin
from myproject.myapp.models import Author
admin.site.register(Author)