报错内容
RuntimeError: Model class app_anme.models.Ad doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
报错原因是因为你的引用内容不够明确,有相同的名字做关键字,如文件夹,模型名等相同
解决办法:将引用路径使用绝对路径
from app_name.models import *