码迷,mamicode.com
首页 > 其他好文 > 详细

caused by a circular import.

时间:2019-08-21 18:58:24      阅读:101      评论:0      收藏:0      [点我收藏+]

标签:model   exce   tle   use   for   url   val   app   configure   

class MenuModelForm(BootStrapModelForm): class Meta: model = models.Menu # django.core.exceptions.ImproperlyConfigured: # The included URLconf ‘PHM.urls‘ does not appear to have any patterns in it. # If you see valid patterns in the file then the issue is probably caused by a circular import. # 哎呀我滴个天呀,不加这个fields一直报上面的错,一定一定要加,调了好久,报错还看不出来。。哎呀呀 fields = [‘title‘, ‘icon‘]

caused by a circular import.

标签:model   exce   tle   use   for   url   val   app   configure   

原文地址:https://blog.51cto.com/10983441/2431494

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!