'Specifying a namespace in include() without providing an app_name ' django.core.exceptions.ImproperlyConfigured: Specifying a namespace in include() without providing an app_name is not supported. Set the app_name attribute in the included module, or pa
解决方案
在应用的目录下的urls.py中的urlpatterns前面添加一段代码:
app_name = '[app_name]'
比如 app_name = '[blog]'