出現問題:
$ python manage.py runserver
啟動項目報錯時候
raise ImproperlyConfigured(msg.format(name=self.urlconf_name))
django.core.exceptions.ImproperlyConfigured: The included URLconf 's9luffycity.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.
原因:
settings中的s9luffycity.url循環調用???
解決辦法:
重新安裝django
$ pip install django==2.2