my index.ymal
в корневой папке говорит:
# AUTOGENERATED
# This index.yaml is automatically updated whenever the dev_appserver
# detects that a new type of query is run. If you want to manage the
# index.yaml file manually, remove the above marker line (the line
# saying "# AUTOGENERATED"). If you want to manage some indexes
# manually, move them above the marker line. The index.yaml file is
# automatically uploaded to the admin console when you next deploy
# your application using appcfg.py.
Таким образом, каждый раз, когда я открываю http://localhost:8080/_ah/admin/datastore
, этот файл обновляется: он все еще имеет тот же контент, но отметка времени файла в операционной системе говорит об этом
Я думаю, что здесь, поскольку http://localhost:8080
видит, что models.py не то же самое, тогда он может загрузить его, то не может запустить django_bootstrap.
Однако, если я впервые открою http://localhost:8080/_ah/admin/datastore
, а затем http://localhost:8080
, это работает.Вот почему иногда Иногда я получаю ошибку: это не зависит от URL-адреса заказа, соответствующего