from rest_framework.decorators import api_view報(bào)錯(cuò)
raise ImproperlyConfigured(msg.format(name=self.urlconf_name)) from e
django.core.exceptions.ImproperlyConfigured: The included URLconf 'drf_tutorial.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.
2021-12-16
有遇到的嗎?幫忙回答一下,謝謝!