Instead of what the tutorial writes:
from django.contrib import admin from .models import Publisher, Author, Book admin.site.register(Publisher) admin.site.register(Author) admin.site.register(Book)
instead:
from django.contrib import admin from . import models import inspect for name, obj in inspect.getmembers(models): if inspect.isclass(obj): admin.site.register(getattr(models, name))
kayseriescortu.com - alacam.org - xescortun.com
ReplyDeletesmm panel
ReplyDeleteSMM PANEL
İş ilanları blog
İnstagram takipçi satın al
https://www.hirdavatciburada.com/
www.beyazesyateknikservisi.com.tr
servis
tiktok hile indir