Django运行中出现了如下错误:
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 pass a 2-tuple containing the list of patterns and app_name instead.
解决此错误的方法是:
在对应的app中的urls.py中添加app_name